Configuration files

Add sxhkdrc config

Changed files
+125
.config
sxhkd
+125
.config/sxhkd/sxhkdrc
··· 1 + # 2 + # wm independent hotkeys 3 + # 4 + 5 + # terminal emulator 6 + super + Return 7 + alacritty 8 + 9 + # program launcher 10 + super + @space 11 + rofi -modi drun -show drun 12 + 13 + # program launcher 14 + super + shift + @space 15 + rofi -modi window -show window 16 + 17 + # make sxhkd reload its configuration files: 18 + super + Escape 19 + pkill -USR1 -x sxhkd 20 + 21 + # 22 + # bspwm hotkeys 23 + # 24 + 25 + # quit/restart bspwm 26 + super + alt + {q,r} 27 + bspc {quit,wm -r} 28 + 29 + # close and kill 30 + super + {_,shift + }q 31 + bspc node -{c,k} 32 + 33 + # alternate between the tiled and monocle layout 34 + super + m 35 + bspc desktop -l next 36 + 37 + # send the newest marked node to the newest preselected node 38 + super + y 39 + bspc node newest.marked.local -n newest.!automatic.local 40 + 41 + # swap the current node and the biggest window 42 + super + g 43 + bspc node -s biggest.window 44 + 45 + # 46 + # state/flags 47 + # 48 + 49 + # set the window state 50 + super + {t,shift + t,s,f} 51 + bspc node -t {tiled,pseudo_tiled,floating,fullscreen} 52 + 53 + # set the node flags 54 + super + ctrl + {m,x,y,z} 55 + bspc node -g {marked,locked,sticky,private} 56 + 57 + # 58 + # focus/swap 59 + # 60 + 61 + # focus the node in the given direction 62 + super + {_,shift + }{h,j,k,l} 63 + bspc node -{f,s} {west,south,north,east} 64 + 65 + # focus the node for the given path jump 66 + super + {p,b,comma,period} 67 + bspc node -f @{parent,brother,first,second} 68 + 69 + # focus the next/previous window in the current desktop 70 + super + {_,shift + }w 71 + bspc node -f {next,prev}.local.!hidden.window 72 + 73 + # focus the next/previous desktop in the current monitor 74 + super + bracket{left,right} 75 + bspc desktop -f {prev,next}.local 76 + 77 + # focus the last node/desktop 78 + super + {grave,Tab} 79 + bspc {node,desktop} -f last 80 + 81 + # focus the older or newer node in the focus history 82 + super + {o,i} 83 + bspc wm -h off; \ 84 + bspc node {older,newer} -f; \ 85 + bspc wm -h on 86 + 87 + # focus or send to the given desktop 88 + super + {_,shift + }{1-9,0} 89 + bspc {desktop -f,node -d} '^{1-9,10}' 90 + 91 + # 92 + # preselect 93 + # 94 + 95 + # preselect the direction 96 + super + ctrl + {h,j,k,l} 97 + bspc node -p {west,south,north,east} 98 + 99 + # preselect the ratio 100 + super + ctrl + {1-9} 101 + bspc node -o 0.{1-9} 102 + 103 + # cancel the preselection for the focused node 104 + super + ctrl + space 105 + bspc node -p cancel 106 + 107 + # cancel the preselection for the focused desktop 108 + super + ctrl + shift + space 109 + bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel 110 + 111 + # 112 + # move/resize 113 + # 114 + 115 + # expand a window by moving one of its side outward 116 + super + alt + {h,j,k,l} 117 + bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0} 118 + 119 + # contract a window by moving one of its side inward 120 + super + alt + shift + {h,j,k,l} 121 + bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0} 122 + 123 + # move a floating window 124 + super + {Left,Down,Up,Right} 125 + bspc node -v {-20 0,0 20,0 -20,20 0}