diff options
| author | bakkeby <[email protected]> | 2021-04-14 10:42:52 +0200 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2021-04-14 10:42:52 +0200 |
| commit | 7efb64d68539666e8da8f7311e706954e6018fdb (patch) | |
| tree | 983af71b683cd89ef62fd6e04f9bf1bb1d0707f2 /patches.def.h | |
| parent | bd5f5608a331b10746cde9c3ecbba24ae100f64d (diff) | |
| download | dwm-flexipatch-7efb64d68539666e8da8f7311e706954e6018fdb.tar.gz dwm-flexipatch-7efb64d68539666e8da8f7311e706954e6018fdb.zip | |
Upgraded the dwmblocks patch for statuscmd which changes the signalling
mechanism from SIGUSR1 to SIGRTMIN which is likely to cause issues for
those that already have a working setup. A compatibility option has been
added which changes this back to SIGUSR1. Note that configuration was
also changed.
This was ref. reported issue #114.
Diffstat (limited to 'patches.def.h')
| -rw-r--r-- | patches.def.h | 31 |
1 files changed, 28 insertions, 3 deletions
diff --git a/patches.def.h b/patches.def.h index 441d179..1085cda 100644 --- a/patches.def.h +++ b/patches.def.h @@ -21,13 +21,38 @@ */ #define BAR_AWESOMEBAR_PATCH 0 -/* This patch depends on statuscmd patch and adds integration with a (patched) dwmblocks - * instance to give a clickable status bar. - * Patch: https://gist.github.com/danbyl/54f7c1d57fc6507242a95b71c3d8fdea +/* This patch depends on statuscmd patch and adds integration with a (patched) + * dwmblocks instance to give a clickable status bar. One must not necessarily + * have to use dwmblocks for this feature, any status updater that has support + * for real-time signals (SIGRTMIN) can be used. + * * dwmblocks: https://github.com/torrinfail/dwmblocks + * https://dwm.suckless.org/patches/statuscmd/ */ #define BAR_DWMBLOCKS_PATCH 0 +/* Originally the dwmblocks + statuscmd patch used a user defined signal (SIGUSR1) + * for communicating with dwmblocks to indicate update signal and what button was + * pressed. The signalling was later changed to SIGRTMIN instead. + * + * Ultimately this makes dwmblocks instances that were patched with the old patch + * are incompatible with the new dwm patch and vice versa. + * + * This is a compatibility patch that makes dwm use SIGUSR1 instead of SIGRTMIN so + * if button clicks are not working then you may want to try enabling this. + * + * If dwmblocks happen to die like this when clicking on a status + * + * [1] 54355 user-defined signal 1 dwmblocks + * + * then it suggests that dwmblocks does not support user defined signals and this + * patch should be left disabled. + * + * Patch: https://gist.github.com/danbyl/54f7c1d57fc6507242a95b71c3d8fdea + * https://dwm.suckless.org/patches/statuscmd/ + */ +#define BAR_DWMBLOCKS_SIGUSR1_PATCH 0 + /* This patch shows the titles of all visible windows in the status bar * (as opposed to showing only the selected one). * Awesomebar takes precedence over fancybar. Fancybar takes precedence over |
