aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2024-03-19 23:15:40 +0200
committersrdusr <trevorgray@srdusr.com>2024-03-19 23:15:40 +0200
commit696277117e72280c02bab9295fc6e6e6c0df2fb1 (patch)
tree062f06a7d317d781a1f442eb675341be98130382
parentadd9e34717ec785353865d0af0d66b0607c56773 (diff)
downloaddotfiles-696277117e72280c02bab9295fc6e6e6c0df2fb1.tar.gz
dotfiles-696277117e72280c02bab9295fc6e6e6c0df2fb1.zip
Moved to .config/bspwm/scripts
-rwxr-xr-xtoggle-hidden14
1 files changed, 0 insertions, 14 deletions
diff --git a/toggle-hidden b/toggle-hidden
deleted file mode 100755
index fe1964a..0000000
--- a/toggle-hidden
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-#
-# hide or show all floating windows in bspwm
-#
-# dependencies: xargs
-
-IDS=($(bspc query -N -n .floating.hidden))
-if [ $? -eq 0 ]; then
- # show hidden floaties
- echo -n ${IDS[@]} | xargs -d ' ' -I ID bspc node ID -g hidden=off
-else
- # hide floaties
- bspc query -N -n .floating | xargs -I ID bspc node ID -g hidden=on
-fi