From 9d273a6b304cfd4478395f92b2afbfb452482ad3 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Wed, 23 Dec 2015 22:13:48 -0500 Subject: [PATCH] [sxhkd] add new definitions for super {p,s,f} bspc window -t doesn't toggle anymore, but only sets --- sxhkd/.config/sxhkd/sxhkdrc | 6 ++++-- 1 file 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 -- 2.20.1