dot_testing/utils/sh/bspwm-toggle-gaps

12 lines
190 B
Plaintext
Raw Permalink Normal View History

2022-07-07 22:34:55 -05: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