dotfiles/config/bspwm/sxhkd (view raw)
| 1 | # Smirnov-O <ss2316544@gmail.com> |
| 2 | # BSPWM/SXKBD config file |
| 3 | |
| 4 | ## == USER keys |
| 5 | super + Return |
| 6 | alacritty |
| 7 | super + shift + w |
| 8 | firefox |
| 9 | |
| 10 | super + shift + f |
| 11 | alacritty --class="ranger" -e ranger |
| 12 | |
| 13 | super + shift + e |
| 14 | alacritty --class="nvim" -e nvim |
| 15 | |
| 16 | super + shift + c |
| 17 | vscodium |
| 18 | |
| 19 | super + shift + d |
| 20 | org.zealdocs.Zeal |
| 21 | |
| 22 | super + shift + q |
| 23 | xkill |
| 24 | |
| 25 | ## == USER Menus |
| 26 | super + shift + Return |
| 27 | rofi -location 2 -show drun |
| 28 | |
| 29 | super + Escape |
| 30 | ~/.script/dmenu/dmenu-power.sh |
| 31 | |
| 32 | super + ctrl + i |
| 33 | passmenu -h 24 -p Passwords |
| 34 | |
| 35 | super + ctrl + u |
| 36 | ~/.script/dmenu/dmenu-config-edit.sh |
| 37 | |
| 38 | |
| 39 | ## == BSPWM keys |
| 40 | super + q |
| 41 | bspc node -{c,k} |
| 42 | |
| 43 | super + control + r |
| 44 | bspc wm -r && pkill -USR1 -x sxhkd |
| 45 | |
| 46 | ## == BSPWM windows |
| 47 | ## Resize window |
| 48 | super + ctrl + {h,j,k,l} |
| 49 | bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0} |
| 50 | |
| 51 | # Resize floating window |
| 52 | #super + shift + {h,j,k,l} |
| 53 | # bspc node -v {-20 0,0 20,0 -20,20 0} |
| 54 | |
| 55 | # Change focus & move focus window |
| 56 | super + {_,shift + }{h,j,k,l} |
| 57 | bspc node -{f,s} {west,south,north,east} |
| 58 | |
| 59 | # Change focus window |
| 60 | super + {_,shift + }c |
| 61 | bspc node -f {next,prev}.local.!hidden.window |
| 62 | |
| 63 | # Preselect the direction |
| 64 | super + alt + {h,j,k,l} |
| 65 | bspc node -p {west,south,north,east} |
| 66 | |
| 67 | # Preselect the ratio |
| 68 | super + alt + {1-9} |
| 69 | bspc node -o 0.{1-9} |
| 70 | |
| 71 | # Cancel the preselection |
| 72 | super + ctrl + space |
| 73 | bspc node -p cancel |
| 74 | |
| 75 | ## == BSPWM workspace |
| 76 | ## Next/Prev workspace |
| 77 | super + bracket{left,right} |
| 78 | bspc desktop -f {prev,next}.local |
| 79 | |
| 80 | # Change WP & send window to WP |
| 81 | super + {_,shift + }{1-9} |
| 82 | bspc {desktop -f,node -d} focused:'^{1-9}' |
| 83 | |
| 84 | ## == BSPWM windwo layouts |
| 85 | # Set window layouts for specific window |
| 86 | super + {t,shift + t,s,f} |
| 87 | bspc node -t {tiled,pseudo_tiled,floating,fullscreen} |
| 88 | |
| 89 | # Change windows layout |
| 90 | super + ctrl + {m,x,y,z} |
| 91 | bspc node -g {marked,locked,sticky,private} |