aboutsummaryrefslogtreecommitdiff
path: root/toggle-hidden
diff options
context:
space:
mode:
Diffstat (limited to 'toggle-hidden')
-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