all repos

dotfiles @ 1f5249ea789001925ac90fade0ab98d430f59555

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 keys 
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
     code,                               \
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
## Resize window
36
super + ctrl + {h,j,k,l}
37
    bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
38
39
# Change focus & move focus window
40
super + {_,shift + }{h,j,k,l}
41
    bspc node -{f,s} {west,south,north,east}
42
43
# Preselect the direction
44
super + alt + {h,j,k,l}
45
    bspc node -p {west,south,north,east}
46
super + alt + {1-9}
47
    bspc node -o 0.{1-9}
48
super + alt + {space,0}
49
    bspc node -p cancel
50
51
## == BSPWM workspace
52
super + {_,shift + }{1-9}
53
    bspc {desktop -f,node -d} focused:'^{1-9}'
54
55
## == BSPWM windwo layouts
56
super + ctrl + {t, s, f}
57
    bspc node -t {tiled,floating,fullscreen}
58
59
# Change windows layout
60
super + ctrl + {m,x,y,z}
61
    bspc node -g {marked,locked,sticky,private}