#
# terminal emulator
-super + Return
- urxvt
-super + shift + Return
- urxvt -name tiled
+super + {_,shift} + Return
+ urxvt{_, -name tiled}
+
+#super + {_,shift} + Return
+# termite{_, --name=tiled}
# program launcher
super + space
- rofi -show run -font "Inconsolata 13"
-
-# rofi-pass
-super + shift + space
- rofi-pass
+ rofi -show run -display-run '> ' -display-window ' 🗔 '
-# teiler
-super + shift + s
- teiler
+super + alt + space
+ xfce4-popup-whiskermenu
-super + z ; t
- urxvt
+# window finder
+super + backslash
+ rofi -show window -display-run '> ' -display-window ' 🗔 '
-super + z ; f
- firefox-nightly
+# password manager
+alt + space
+ rofi-pass
# firefox
#super + r
# chromium
#super + c
-# chromium
+# chromium -incognito
# emacs
super + e
emacs
-# emacs -Q -l src/elisp/oremacs/init.el
-
-# stalonetray
-#super + minus
-# toggle_tray&
-# volume up
-XF86AudioRaiseVolume
- pamixer --allow-boost --increase 5
+# make sxhkd reload its configuration files:
+super + Escape
+ pkill -USR1 -x sxhkd
-# volume down
-XF86AudioLowerVolume
- pamixer --allow-boost --decrease 5
+# volume {up,down}
+XF86Audio{Raise,Lower}Volume
+ pamixer --allow-boost --{in,de}crease 5
# mute
XF86AudioMute
pamixer --toggle-mute
+# playback control
+XF86Audio{Play,Prev,Next}
+ mpc {toggle,prev,next}
+
+# lock the screen
+super + shift + q
+ light-locker-command -l
+
+# Toggle keyboard layout
+super + F7
+ toggle-layout
+
+# Toggle Xfce presentation mode
+XF86LaunchB
+ toggle-presentation-mode
+
# monitor brightness
-#XF86MonBrightness{Up,Down}
-# xbacklight -time 0 {+5,-5}
+XF86MonBrightness{Up,Down}
+ light -{A,U} 5
+
+super + apostrophe
+ rofi-light
# keyboard brightness
#XF86KbdBrightness{Up,Down}
# kbdlight {up,down}
-XF86LaunchA
- /home/amin/.local/bin/toggle-layout
-
-# make sxhkd reload its configuration files:
-super + Escape
- pkill -USR1 -x sxhkd
-
#
# bspwm hotkeys
#
super + m
bspc desktop -l next
-# if the current node is automatic, send it to the last manual, otherwise pull the last leaf
+# send the newest marked node to the newest preselected node
super + y
- bspc query -N -n focused.automatic && bspc node -n last.!automatic || bspc node last.leaf -n focused
+ bspc node newest.marked.local -n newest.!automatic.local
# swap the current node and the biggest node
super + g
bspc node -t {tiled,pseudo_tiled,floating,fullscreen}
# set the node flags
-super + ctrl + {x,y,z}
- bspc node -g {locked,sticky,private}
+super + ctrl + {m,x,y,z}
+ bspc node -g {marked,locked,sticky,private}
#
# focus/swap
super + {p,b,comma,period}
bspc node -f @{parent,brother,first,second}
-# focus the next/previous node
-super + {_,shift + }slash
- bspc node -f {next,prev}
+# focus the next/previous node in the current desktop
+super + {_,shift + }c
+ bspc node -f {next,prev}.local
-# focus the next/previous desktop
+# focus the next/previous desktop in the current monitor
super + bracket{left,right}
- bspc desktop -f {prev,next}
+ bspc desktop -f {prev,next}.local
# send to next/prev desktop
super + shift + bracket{left,right}
- bspc node -d {prev,next}
+ bspc node -d {prev,next} --follow
# focus the last node/desktop
super + {grave,Tab}
# move a floating window
super + {Left,Down,Up,Right}
bspc node -v {-20 0,0 20,0 -20,20 0}
+
+#alt + bracket{left,right}
+# xdotool key --clearmodifiers ctrl+Page_{Up,Down}