all repos

dotfiles @ 633e8ad

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