all repos

dotfiles @ c7da10d0769ef7ed07f426894c86d4aa8be26d2b

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 Applications
5
super + Return
6
	kitty
7
8
super + shift + w
9
    firefox
10
11
super + shift + f
12
    kitty --class=ranger -e ranger
13
14
super + shift + e
15
    kitty --class=nvim -e nvim
16
17
super + shift + c
18
    vscodium
19
20
super + shift + d
21
    org.zealdocs.Zeal
22
23
super + shift + q
24
    xkill
25
26
27
## == USER volume
28
super + minus
29
    amixer sset Master 2%-
30
31
super + equal
32
    amixer sset Master 2%+
33
34
super + shift + minus
35
    amixer sset Master toggle
36
37
38
## == USER Menus
39
super + shift + Return
40
	rofi -location 2 -show drun
41
42
super + Escape
43
    ~/.script/dmenu/dmenu-power.sh
44
45
super + ctrl + i
46
    ~/.script/dmenu/dmenu-pass.sh
47
48
super + ctrl + u
49
    ~/.script/dmenu/dmenu-config-edit.sh
50
51
52
## == BSPWM keys
53
super + q
54
	bspc node -{c,k}
55
56
super + control + r
57
	bspc wm -r && pkill -USR1 -x sxhkd
58
59
## == BSPWM windows
60
61
## Resize window
62
super + ctrl + {h,j,k,l}
63
	bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
64
65
# Change focus & move focus window
66
super + {_,shift + }{h,j,k,l}
67
	bspc node -{f,s} {west,south,north,east}
68
69
# Change focus window
70
super + {_,shift + }c
71
	bspc node -f {next,prev}.local.!hidden.window
72
73
# Preselect the direction
74
super + alt + {h,j,k,l}
75
	bspc node -p {west,south,north,east}
76
77
# Preselect the ratio
78
super + alt + {1-9}
79
	bspc node -o 0.{1-9}
80
81
# Cancel the preselection
82
super + ctrl + space
83
	bspc node -p cancel
84
85
## == BSPWM workspace
86
## Next/Prev workspace
87
super + bracket{left,right}
88
	bspc desktop -f {prev,next}.local
89
90
# Change WP & send window to WP
91
super + {_,shift + }{1-9}
92
	bspc {desktop -f,node -d} focused:'^{1-9}'
93
94
## == BSPWM windwo layouts
95
# Set window layouts for specific window
96
super + {t,shift + t,s,f}
97
	bspc node -t {tiled,pseudo_tiled,floating,fullscreen}
98
99
# Change windows layout
100
super + ctrl + {m,x,y,z}
101
	bspc node -g {marked,locked,sticky,private}