[sxhkd] launch chromium in incognito mode
[~bandali/configs] / sxhkd / .config / sxhkd / sxhkdrc
index 13734ef..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
@@ -37,7 +39,7 @@ super + m
 super + {_,shift + }{h,j,k,l}
        bspc window -{f,s} {left,down,up,right}
 
-super + {_,shift + }c
+super + {_,shift + }slash
        bspc window -f {next,prev}
 
 super + {comma,period}
@@ -46,6 +48,9 @@ super + {comma,period}
 super + bracket{left,right}
        bspc desktop -f {prev,next}
 
+super + shift + bracket{left,right}
+       bspc window -d {prev,next}
+
 super + ctrl + {h,j,k,l}
        bspc window -p {left,down,up,right}
 
@@ -84,7 +89,7 @@ super + Return
        urxvt
 
 super + space
-       xfce4-popup-whiskermenu
+       rofi -show run -font "Source Code Pro 11" -fg "#195465" -bg "#0A0F14" -hlfg "#EDB54B" -hlbg "#0A0F14" -o 85
 
 super + x
     slimlock
@@ -95,6 +100,9 @@ super + e
 super + r
     firefox
 
+super + c
+    chromium -incognito
+
 # make sxhkd reload its configuration files:
 super + Escape
        pkill -USR1 -x sxhkd