all repos

dotfiles @ 64007489ce41b3bdeafc99cebdab9b9e9ef2b545

i use rach linux btw

dotfiles/config/bspwm/sxhkd (view raw)

1
# Smirnov-O <ss2316544@gmail.com>
2
# BSPWM/SXKBD config file
3
4
## == USER Applications
5
super + {_,shift} Return
6
    {alacritty,      \
7
     rofi -show drun }
8
9
super + shift + {w,f,e,c,q}
10
    {firefox,                            \
11
     alacritty --class=ranger -e ranger, \
12
     alacritty --class=nvim   -e nvim,   \
13
     subl,                               \
14
	 xkill                               }
15
16
super + shift + z
17
    betterlockscreen --off 180 -t "Computer is lokerd" -l
18
19
super + {equal, minus, shift + minus}
20
    amixer sset Master {2%+,2%-,toggle}
21
22
super + {Escape, ctrl + u, ctrl  + i}
23
	{./.script/dmenu/dmenu-power.sh,       \
24
     ./.script/dmenu/dmenu-config-edit.sh, \
25
     ./.script/dmenu/dmenu-pass.sh         }
26
27
## == BSPWM keys
28
super + q
29
	bspc node -{c,k}
30
31
super + control + r
32
	bspc wm -r && pkill -USR1 -x sxhkd
33
34
## == BSPWM windows
35
36
## Resize window
37
super + ctrl + {h,j,k,l}
38
	bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
39
40
# Change focus & move focus window
41
super + {_,shift + }{h,j,k,l}
42
	bspc node -{f,s} {west,south,north,east}
43
44
# Preselect the direction
45
super + alt + {h,j,k,l}
46
	bspc node -p {west,south,north,east}
47
super + alt + {1-9}
48
	bspc node -o 0.{1-9}
49
super + alt + {space,0}
50
	bspc node -p cancel
51
52
## == BSPWM workspace
53
super + {_,shift + }{1-9}
54
	bspc {desktop -f,node -d} focused:'^{1-9}'
55
56
## == BSPWM windwo layouts
57
super + ctrl + {t, s, f}
58
	bspc node -t {tiled,floating,fullscreen}
59
60
# Change windows layout
61
super + ctrl + {m,x,y,z}
62
	bspc node -g {marked,locked,sticky,private}