✨ 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
|
|
@ -161,7 +161,7 @@ super + alt + {h,j,k,l}
|
||||||
super + a
|
super + a
|
||||||
pavucontrol &
|
pavucontrol &
|
||||||
super + z
|
super + z
|
||||||
lxappearance &
|
zoom &
|
||||||
super + f
|
super + f
|
||||||
librewolf &
|
librewolf &
|
||||||
super + c
|
super + c
|
||||||
|
|
@ -171,9 +171,10 @@ super + i
|
||||||
super + g
|
super + g
|
||||||
gimp --no-splash &
|
gimp --no-splash &
|
||||||
super + h
|
super + h
|
||||||
keepassxc &
|
$HOME/scripts/bsphide &
|
||||||
super + k
|
super + k
|
||||||
krita --nosplash &
|
keepassxc &
|
||||||
|
# krita --nosplash &
|
||||||
super + t
|
super + t
|
||||||
thunderbird &
|
thunderbird &
|
||||||
super + p
|
super + p
|
||||||
|
|
|
||||||
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