commit 68a128e96cc7b14f3caaea5285ea55018b55e191 parent 0c283b156ac2aa05eb388eb1e7807c5a5d805a07 Author: jacobs-github <JacobDoesLinux@protonmail.com> Date: Sun, 16 Feb 2020 02:36:25 -0800 made an irrelivant script Diffstat:
| A | bspwm/.config/bspwm/bspc-utils/trash/bspc-allgap | | | 14 | ++++++++++++++ |
1 file changed, 14 insertions(+), 0 deletions(-)
diff --git a/bspwm/.config/bspwm/bspc-utils/trash/bspc-allgap b/bspwm/.config/bspwm/bspc-utils/trash/bspc-allgap @@ -0,0 +1,14 @@ +#!/bin/dash +# Jacob Edwards, 2020 +# Increment gaps of monocle in monocle mode, and tiled in tiled ("do what I mean"? I think I heard that from emacs) + +bspc-querydesktop '"layout":"monocle"' + +if [ "$?" = '0' ]; then + bspc-inc left_monocle_padding "$@" + bspc-inc right_monocle_padding "$@" + bspc-inc top_monocle_padding "$@" + bspc-inc bottom_monocle_padding "$@" +else + bspc-inc window_gap "$@" +fi