[sxhkd] launch chromium in incognito mode
[~bandali/configs] / sxhkd / .config / sxhkd / sxhkdrc
index 646653f..53ce423 100644 (file)
@@ -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
@@ -99,7 +101,7 @@ super + r
     firefox
 
 super + c
-    chromium
+    chromium -incognito
 
 # make sxhkd reload its configuration files:
 super + Escape