Make bspwm monocle mode work with translucent windows

This commit is contained in:
Agatha Lovelace 2023-04-13 13:27:55 +02:00
parent b670a609e5
commit 83726b0897
Signed by: sorceress
GPG Key ID: 01D0B3AB10CED4F8
1 changed files with 2 additions and 1 deletions

View File

@ -91,7 +91,8 @@ in {
# Close/kill window
"super + {_,shift + }w" = "bspc node -{c,k}";
# Monocle layout
"super + m" = "bspc desktop -l next";
"super + m" =
"for node_i in $(bspc query -N -n '.!focused.window' -d focused); bspc node $node_i -g hidden; end; bspc desktop -l next";
# Toggle hide all windows
"super + d" =
"bspc query -N -n .window | xargs -I node_id bspc node node_id -g hidden";