all repos

dotfiles @ ae9fa7059a5714e48d5b54a0e8d83ca037bb1be7

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, e, f, c, t, q}
10
    {google-chrome-stable,           \
11
     kitty --class nvim   -e nvim,   \
12
     kitty --class ranger -e ranger, \
13
     code,                           \
14
     .applications/todoist.appimage, \
15
     xkill                           }
16
17
{_,shift,ctrl} Print
18
    {scrot -s, scrot, scrot -u}
19
20
super + {equal, minus, shift+minus}
21
    amixer sset Master {2%+,2%-,toggle}
22
23
super + {Escape, ctrl+i}
24
    {.config/rofi/script/powermenu.sh, \
25
     .config/rofi/script/passmenu.sh   }
26
27
### == BSPWM keys
28
super + q
29
    bspc node -c
30
31
super + control + r
32
    bspc wm -r && \
33
    sxhkd -c ~/.config/bspwm/sxhkd
34
35
### == BSPWM windows
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
48
super + alt + {1-9}
49
    bspc node -o 0.{1-9}
50
51
super + alt + {space,0}
52
    bspc node -p cancel
53
54
## == BSPWM workspace
55
super + {_,shift + }{1-9}
56
    bspc {desktop -f,node -d} focused:'^{1-9}'
57
58
## == BSPWM window layouts
59
super + shift + {Tab, F11}
60
    bspc node -t {floating,fullscreen}
61
62
super + Tab
63
    bspc node -t tiled
64
65
# vim: ft=sxhkdrc