diff options
Diffstat (limited to 'toggle-floaty')
| -rwxr-xr-x | toggle-floaty | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/toggle-floaty b/toggle-floaty new file mode 100755 index 0000000..69e2c8f --- /dev/null +++ b/toggle-floaty @@ -0,0 +1,14 @@ +#!/bin/bash +# +# make a tiled window floating and sticky +# or make a floaty window tiled + +bspc node -t floating +if [ $? -eq 0 ]; then + echo tiled + bspc node -g sticky=on +else + echo floaty + bspc node -t tiled + bspc node -g sticky=off +fi |
