Toggle fullscreen mode

This commit is contained in:
Thomas Dehaeze 2019-12-30 21:19:33 +01:00
parent 6c62482fc5
commit 95d17a4693

View File

@ -217,7 +217,7 @@ super + shift + d
** Monocle Layout
#+begin_src conf
# alternate between the tiled and monocle layout
super + f
super + m
bspc desktop -l next
# focus the next/previous node in the current desktop
@ -227,10 +227,20 @@ super + shift + d
** Set the window State
#+begin_src conf
# set the window state
super + {t, shift + f}
bspc node -t {tiled,fullscreen}
# Set the window state to tiled
super + t
bspc node -t tiled
# Toggle Fullscreen State
super + f
if [ -z "$(bspc query -N -n focused.fullscreen)" ]; then \
bspc node focused -t fullscreen; \
else \
bspc node focused -t tiled; \
fi
# Toggle Floating State
super + s
if [ -z "$(bspc query -N -n focused.floating)" ]; then \
bspc node focused -t floating; \