summaryrefslogtreecommitdiffstats
path: root/sxhkd/.config/sxhkd/sxhkdrc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sxhkd/.config/sxhkd/sxhkdrc6
1 files changed, 4 insertions, 2 deletions
diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc
index 646653f..0669cfa 100644
--- a/sxhkd/.config/sxhkd/sxhkdrc
+++ b/sxhkd/.config/sxhkd/sxhkdrc
@@ -14,8 +14,10 @@ super + t
super + b
bspc desktop -B
-super + {s,f}
- bspc window -t {floating,fullscreen}
+super + {p,s,f}
+ state={pseudo_tiled,floating,fullscreen}; \
+ bspc query -W -w "focused.$\{state\}" && state=tiled; \
+ bspc window -t "$state"
super + {grave,Tab}
bspc {window,desktop} -f last