all repos

dotfiles @ 197750ffa3952d2e693d1a4122973e3bcfb995bc

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, s, q}
10
        {google-chrome-stable,              \
11
         kitty --class ranger -e ranger,    \
12
         kitty --class nvim   -e nvim,      \
13
         code,                              \
14
         .applications/simplenote.appimage, \
15
         xkill                              }
16
17
super + {_,shift} Print
18
    {scrot -s, \
19
     scrot     }
20
21
super + {equal, minus, shift+minus}
22
    amixer sset Master {2%+,2%-,toggle}
23
24
super + {Escape, ctrl+i}
25
    {.config/rofi/script/powermenu.sh, \
26
     .config/rofi/script/passmenu.sh   }
27
28
### == BSPWM keys
29
super + q
30
    bspc node -c
31
32
super + control + r
33
    bspc wm -r \
34
    pkill -USR1 -x sxhkd
35
36
### == BSPWM windows
37
## Resize window
38
super + ctrl + {h,j,k,l}
39
    bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
40
41
# Change focus & move focus window
42
super + {_,shift + }{h,j,k,l}
43
    bspc node -{f,s} {west,south,north,east}
44
45
# Preselect the direction
46
super + alt + {h,j,k,l}
47
    bspc node -p {west,south,north,east}
48
49
super + alt + {1-9}
50
    bspc node -o 0.{1-9}
51
52
super + alt + {space,0}
53
    bspc node -p cancel
54
55
## == BSPWM workspace
56
super + {_,shift + }{1-9}
57
    bspc {desktop -f,node -d} focused:'^{1-9}'
58
59
## == BSPWM window layouts
60
super + shift + {Tab, F11}
61
    bspc node -t {floating,fullscreen}
62
63
super + Tab
64
    bspc node -t tiled
65
66
# vim: ft=sxhkdrc