Commit Graph

81 Commits

Author SHA1 Message Date
Mahesh Asolkar ecc8c14619 Merge branch 'master' of /home/mahesh/git/furnish/somebar_20240217 2024-02-24 13:36:16 -08:00
Mahesh Asolkar 566bd7ce96 Fixed background color of status component 2024-02-24 13:34:58 -08:00
Mahesh Asolkar 70a11edea4 Support for DWL IPC v2
* More customizations for indicators
2024-02-18 11:27:44 -08:00
jeron 98ad3780b8 Fix status bar background color
I don't know if this is the best way to do it but this one-liner
makes it look exactly like dwm's.

Co-authored-by: Raphael Robatsch <raphael-git@tapesoftware.net>
2024-02-18 11:22:22 -08:00
Raphael Robatsch 7e91b3a514 Loosen required zwlr_layer_shell_v1 version
Version 1 is enough for somebar. dwl exports version 3 but we don't even
need to go that high.
2024-02-18 11:22:22 -08:00
Mahesh Asolkar 0222481887 Support for DWL IPC v2
* More customizations for indicators
2024-02-18 11:08:52 -08:00
jeron 6572b98d69 Fix status bar background color
I don't know if this is the best way to do it but this one-liner
makes it look exactly like dwm's.

Co-authored-by: Raphael Robatsch <raphael-git@tapesoftware.net>
2024-02-16 13:17:33 +01:00
Raphael Robatsch 7433a1ff99 Loosen required zwlr_layer_shell_v1 version
Version 1 is enough for somebar. dwl exports version 3 but we don't even
need to go that high.
2023-11-30 17:11:26 +01:00
Mahesh Asolkar 6e2dd755d0 Don't die if status FIFO exists 2023-10-14 10:41:30 -07:00
Mahesh Asolkar 7b6e33ff43 Merge ../somebar_good_20221119_backed 2023-10-08 11:15:58 -07:00
mortezadadgar e1f8c63064 Fix possible OOB access for clicking tags
specify the signed type for indexing tags as intended
for `tag >= 0` check.

Signed-off-by: mortezadadgar <mortezadadgar97@gmail.com>
2023-08-01 21:24:08 +02:00
Mahesh Asolkar 81d8afd365 Merge remote-tracking branch 'origin/master' 2023-01-15 14:08:52 -08:00
Raphael Robatsch 83f59945a6 fix crash when an output goes away
happens e.g. when a monitor is powered off.
The wl_output interface published by dwl has version 1, but the
wl_output_release request is only supported since version 3.
2022-12-04 19:05:35 +01:00
Raphael Robatsch fb2c8e5f42 fix bug where hidden bar cannot be shown anymore 2022-11-27 10:41:05 +01:00
Ben Collerson 6e464bf35d trim spaces from title and layout symbol 2022-11-25 11:19:52 +01:00
Mahesh Asolkar 41b2b04121 Added support for single indicators
And indicator configuration
2022-11-24 21:01:06 -08:00
Mahesh Asolkar fe3654cde3 Customizations
* Increased size of tag indication of clients
* In monocle mode, layout symbol shows number of clients in the tag
2022-11-24 17:59:57 -08:00
Mahesh Asolkar 63480f7fa4 IPC patch and customizations 2022-11-19 14:36:29 -08:00
Leonardo Hernández Hernández 1926a14860 ignore SIGCHLD
Signed-off-by: Leonardo Hernández Hernández <leohdz172@protonmail.com>
2022-04-14 17:59:11 +02:00
Raphael Robatsch ad7dea8232 remove unneeded `path` variable 2022-03-05 10:11:35 +01:00
Leonardo Hernández Hernández f7f684828d allow user to set path of the fifo
Signed-off-by: Leonardo Hernández Hernández <leohdz172@protonmail.com>
2022-02-28 19:02:47 +01:00
Raphael Robatsch ee2e709317 code style cleanup 2021-11-17 17:53:35 +01:00
Raphael Robatsch f257340432 portability: abstract memfd_create away 2021-11-16 19:54:20 +01:00
Raphael Robatsch 4b54d4b3d1 portability: replace epoll with poll 2021-11-16 19:54:20 +01:00
Raphael Robatsch 97176b3a10 portability: replace signalfd with self-pipe 2021-11-16 19:46:58 +01:00
Raphael Robatsch 47ab67a52a fix build warnings 2021-11-06 16:26:12 +01:00
Raphael Robatsch ad8c9bc20c update readme with arch dependencies 2021-11-05 21:31:47 +01:00
Raphael Robatsch a6104020cb perf: don't rerender on configure, if w/h didn't change 2021-11-04 08:32:02 +01:00
Raphael Robatsch b5c9de5619 style: indent, send actual buffer w/h in damage 2021-11-04 08:23:42 +01:00
Raphael Robatsch 945a93ed64 refactor: don't wrap Bar in an optional 2021-11-02 19:15:24 +01:00
Raphael Robatsch 2f79dbd9fb don't render unless we have a buffer 2021-11-02 18:49:50 +01:00
Raphael Robatsch 3409d45a62 fix: update selmon 2021-10-31 17:50:59 +01:00
Raphael Robatsch 69722bae48 style: config 2021-10-30 11:55:35 +02:00
Raphael Robatsch 82330ddf7d Merge branch 'master' into stdin 2021-10-30 11:44:40 +02:00
Raphael Robatsch b40f557467 style: reorder functions 2021-10-30 11:41:27 +02:00
Raphael Robatsch ea5ab9e28b bugfix: line_buffer 2021-10-30 11:21:30 +02:00
Raphael Robatsch 7b31d4cc54 bugfixes 2021-10-30 11:20:27 +02:00
Raphael Robatsch a4cbf117c9 rearrange stdin handler 2021-10-29 23:35:40 +02:00
Raphael Robatsch 1c538a003d Merge branch 'master' into stdin 2021-10-29 23:27:17 +02:00
Raphael Robatsch e2c4eb6185 Bar::setLayout: take layout name instead of number 2021-10-29 23:25:07 +02:00
Raphael Robatsch 6da4df255c style: fix spacing issues 2021-10-29 23:23:35 +02:00
Raphael Robatsch fd501be2d6 read dwl status from stdin 2021-10-29 22:22:58 +02:00
Raphael Robatsch 0f81338bb6 style: spaces -> tabs 2021-10-29 20:36:30 +02:00
Raphael Robatsch 7b3700e730 bugfix: make toggleview work properly 2021-10-29 20:22:11 +02:00
Raphael Robatsch 30329b71f4 style: pointer/reference goes to type, not name 2021-10-29 20:19:09 +02:00
Raphael Robatsch ebf06f932f line buffer: cleanup 2021-10-29 20:03:26 +02:00
Raphael Robatsch 66939c0c7b rename "current" monitor to "selected" 2021-10-28 17:22:40 +02:00
Raphael Robatsch 8e8e1b7614 fix pango crash 2021-10-28 17:22:40 +02:00
Raphael Robatsch 4736b8a462 packaging 2021-10-27 18:36:57 +02:00
Raphael Robatsch b30a695ffc packaging 2021-10-27 18:20:14 +02:00