✨ Added hiding feature to personal bspwm setup
This commit is contained in:
parent
90f366ee89
commit
a5e58c8e4d
2 changed files with 16 additions and 3 deletions
12
scripts/bsphide
Executable file
12
scripts/bsphide
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
# bound to sxhkd, allows hiding of windows in bspwm
|
||||
|
||||
hidden=$(bspc query -N -n .hidden -d focused)
|
||||
|
||||
if [ -z "$hidden" ]; then
|
||||
bspc node focused -g hidden=on
|
||||
else
|
||||
bspc node "$hidden" -h hidden=off
|
||||
fi
|
||||
|
||||
# found: https://lecorbeausvault.wordpress.com/2020/07/04/bspwm-hide-minimize-window/
|
||||
Loading…
Add table
Add a link
Reference in a new issue