utils/sh/bspwm-toggle-gaps

12 lines
190 B
Plaintext
Raw Normal View History

2022-07-08 03:34:55 +00:00
#!/bin/sh
gaps="$(bspc config top_padding)"
if [ "$gaps" -eq 20 ]; then
bspc config window_gap 0
bspc config top_padding 18
else
bspc config window_gap 3
bspc config top_padding 20
fi