summaryrefslogtreecommitdiffstats
path: root/util.h
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2024-02-26 15:20:38 -0500
committerMalfurious <m@lfurio.us>2024-03-05 21:04:41 -0500
commit2d0d68ce93d35a46029879addd567c89cc41597d (patch)
treea37e362f88b8a201611c1e4d6436e6c84a264500 /util.h
parent37b25c9685f265acaf864cb91c6c540befcfb80b (diff)
downloaddwm-2d0d68ce93d35a46029879addd567c89cc41597d.tar.gz
dwm-2d0d68ce93d35a46029879addd567c89cc41597d.zip
patch: holdbar
dwm's built-in status bar is now only shown when HOLDKEY is pressed. In addition the bar will now overlay the display. This will work regardless of the topbar setting. This is meant to be used with the bar off by default. None of the togglebar code has been removed, although you might want to remove the togglebar binding in your config.def.h. The holdbar-modkey patch (this) is a variant where holdbar is only active when the bar is toggled off and the holdkey can be the same as the modkey. This reverts commit 8657affa2a61 ("drawbar: Don't expend effort drawing bar if it is occluded"). When holdbar is applied, its effect prevents the bar from ever being drawn. Only a black rectangle appears when the key is held. This patch allows HOLDKEY to also be used in place of MODKEY for sending keystrokes to dwm while simultaneously peeking at the statusbar.
Diffstat (limited to 'util.h')
0 files changed, 0 insertions, 0 deletions