mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-12-15 11:21:42 +01:00
sxhkd: Replace polybar toggle with tint2
This commit is contained in:
parent
d2a49bd4eb
commit
ba5675586a
@ -36,11 +36,12 @@ super + {_,shift} + Return
|
||||
super + backslash
|
||||
~/.config/sxhkd/dropdown.sh
|
||||
|
||||
# toggle polybar: top_padding depends on the height you set in polybar/config
|
||||
# TODO: Replace old polybar keybind with status notification
|
||||
# toggle tint2: bottom_padding depends on the panel_size you set in tint2rc
|
||||
super + o
|
||||
(xdotool search --class --onlyvisible "Polybar" && \
|
||||
(xdo hide -N "Polybar" && bspc config top_padding 0)) || \
|
||||
(xdo show -N "Polybar" && bspc config top_padding $(cat ~/.cache/polybar/bspwm_top_padding))
|
||||
(xdotool search --class --onlyvisible "tint2" && \
|
||||
(xdo hide -n "tint2" && bspc config bottom_padding 0)) || \
|
||||
(xdo show -n "tint2" && bspc config bottom_padding 30)
|
||||
|
||||
# Change the wal color scheme
|
||||
super + m
|
||||
|
Loading…
Reference in New Issue
Block a user