15 lines
237 B
Fish
Executable file
15 lines
237 B
Fish
Executable file
#!/usr/bin/fish
|
|
|
|
set gap (bspc config window_gap)
|
|
|
|
if [ $gap = 40 ]
|
|
set new_gap 18
|
|
else if [ $gap = 18 ]
|
|
set new_gap 12
|
|
else if [ $gap = 12 ]
|
|
set new_gap 0
|
|
else if [ $gap = 0 ]
|
|
set new_gap 40
|
|
end
|
|
|
|
bspc config window_gap $new_gap
|