mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-13 13:16:42 +02:00
Truly toggle between tiled and fullscreen
I don't know why I couldn't implement it before, but now that I know more about shell scripting, I know that this works. There's an even better solution I found in the bspc man pages, which will be covered in the next commit.
This commit is contained in:
parent
30b1f57ebf
commit
a4982e767b
@ -92,10 +92,11 @@ super + r
|
|||||||
|
|
||||||
# Toggle between tiled and "true" fullscreen
|
# Toggle between tiled and "true" fullscreen
|
||||||
super + t
|
super + t
|
||||||
bspc node focused -t fullscreen
|
if [ -z "$(bspc query -N -n focused.fullscreen)" ]; then \
|
||||||
|
bspc node focused -t fullscreen; \
|
||||||
super + shift + t
|
else \
|
||||||
bspc node focused -t tiled
|
bspc node focused -t tiled; \
|
||||||
|
fi
|
||||||
|
|
||||||
# Toggle between floating and tiled (default)
|
# Toggle between floating and tiled (default)
|
||||||
# This is the equivalent of a floating window in i3
|
# This is the equivalent of a floating window in i3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user