all repos

dotfiles @ 1be1c9c

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