all repos

dotfiles @ 2a67211908cdfba98f0d331836bb20d5656899cb

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
    {kitty,  \
7
     rofi -show drun -theme ntenV2}
8
9
super + shift + {w, f, e, c, v, s, z, q}
10
        {google-chrome-stable,                                  \
11
         kitty --class ranger -e ranger,                        \
12
         kitty --class nvim   -e nvim,                          \
13
         code,                                                  \
14
         veracrypt,                                             \
15
         .applications/simplenote.appimage,                     \
16
         betterlockscreen --off 180 -t "Computer is locked" -l, \
17
         xkill                                                  }
18
19
super + {equal, minus, shift+minus}
20
    amixer sset Master {2%+,2%-,toggle}
21
22
super + {Escape, ctrl+i}
23
    {./.script/dmenu/dmenu-power.sh,       \
24
     ./.script/dmenu/dmenu-pass.sh         }
25
26
### == BSPWM keys
27
super + q
28
    bspc node -c
29
30
super + control + r
31
    bspc wm -r \
32
    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
47
super + alt + {1-9}
48
    bspc node -o 0.{1-9}
49
50
super + alt + {space,0}
51
    bspc node -p cancel
52
53
## == BSPWM workspace
54
super + {_,shift + }{1-9}
55
    bspc {desktop -f,node -d} focused:'^{1-9}'
56
57
## == BSPWM window layouts
58
super + shift + {Tab, F11}
59
    bspc node -t {floating,fullscreen}
60
61
super + Tab
62
    bspc node -t tiled
63
64
# vim: ft=sxhkdrc