sxhkd: Halve gaps differential

This change simply made it easier to fine-tune gaps in a more precise
way, although admittedly I am not interested in this as much as I used
to be.
This commit is contained in:
Donovan Glover 2022-12-15 09:56:46 -05:00
parent 208de5adea
commit 6e8d4a543e
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -10,9 +10,9 @@ super + d
# Dynamically adjust gaps of current desktop # Dynamically adjust gaps of current desktop
super + {_, shift +} g super + {_, shift +} g
{ bspc config -d focused window_gap $(( $(bspc config -d focused window_gap) + 20 )), \ { bspc config -d focused window_gap $(( $(bspc config -d focused window_gap) + 10 )), \
[ $(bspc config -d focused window_gap) -ge 20 ] && \ [ $(bspc config -d focused window_gap) -ge 20 ] && \
bspc config -d focused window_gap $(( $(bspc config -d focused window_gap) - 20 )) } bspc config -d focused window_gap $(( $(bspc config -d focused window_gap) - 10 )) }
# Dynamically adjust borders of nodes on current desktop # Dynamically adjust borders of nodes on current desktop
super + {_, shift +} i super + {_, shift +} i