X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/23a1f61aaf2144d071025e6e6b618007df648296..d3e6bf8ceb0ea00888a6e1e9a3921f7f9b967a00:/sxhkd/.config/sxhkd/sxhkdrc diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc index 07ab0e0..5329d62 100644 --- a/sxhkd/.config/sxhkd/sxhkdrc +++ b/sxhkd/.config/sxhkd/sxhkdrc @@ -3,28 +3,26 @@ # # 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 @@ -32,44 +30,51 @@ super + z ; f # 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 # @@ -86,9 +91,9 @@ super + {w,q} 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 @@ -103,8 +108,8 @@ super + {t,shift + t,s,f} 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 @@ -118,17 +123,17 @@ super + {_,shift + }{h,j,k,l} 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} @@ -179,3 +184,6 @@ super + alt + shift + {h,j,k,l} # 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}