X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/271181b4f8d4711bb1f53246c8ccddff4b80f6b7..9d273a6b304cfd4478395f92b2afbfb452482ad3:/sxhkd/.config/sxhkd/sxhkdrc 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