From: Amin Bandali Date: Thu, 24 Dec 2015 03:13:48 +0000 (-0500) Subject: [sxhkd] add new definitions for super {p,s,f} X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/9d273a6b304cfd4478395f92b2afbfb452482ad3?ds=sidebyside [sxhkd] add new definitions for super {p,s,f} bspc window -t doesn't toggle anymore, but only sets --- 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