aboutsummaryrefslogtreecommitdiff
path: root/stow/sxhkd
diff options
context:
space:
mode:
Diffstat (limited to 'stow/sxhkd')
-rw-r--r--stow/sxhkd/.config/sxhkd/sxhkdrcbspc2
1 files changed, 1 insertions, 1 deletions
diff --git a/stow/sxhkd/.config/sxhkd/sxhkdrcbspc b/stow/sxhkd/.config/sxhkd/sxhkdrcbspc
index 50c7f2c..4da5192 100644
--- a/stow/sxhkd/.config/sxhkd/sxhkdrcbspc
+++ b/stow/sxhkd/.config/sxhkd/sxhkdrcbspc
@@ -57,7 +57,7 @@ super + {v,b}
# Swap focus between tiled and floating nodes
super + space
- if bspc wm -g | grep -q ':TF:'; then \
+ if bspc query -T -n | grep -q '"state":"floating"'; then \
bspc node -f last.local.leaf.!floating; \
else \
bspc node -f last.local.leaf.floating; \