-
Notifications
You must be signed in to change notification settings - Fork 0
/
sxhkdrc
91 lines (60 loc) · 1.91 KB
/
sxhkdrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
alt + {0-9,minus,equal}
bspc desktop -f '^{10,1-9,11,12}'
alt + {F1,F2,F3,F4,F5,F6}
bspc desktop -f {A,B,C,D,E,F}
alt + shift + {0-9,minus,equal}
bspc node -d '^{10,1-9,11,12}' --follow
alt + shift + {F1,F2,F3,F4,F5,F6}
bspc node -d {A,B,C,D,E,F} --follow
alt + {Left,Down,Up,Right}
bspc node -f {west,south,north,east}
alt + shift + {Left,Down,Up,Right}
bspc node @parent -F {vertical,horizontal,horizontal,vertical}
alt + r
bspc node @parent -R 90
super + {Up,Down,Left,Right}
{bspc node -z top 0 -20; bspc node -z bottom 0 20,bspc node -z top 0 20; bspc node -z bottom 0 -20,bspc node -z left 20 0; bspc node -z right -20 0,bspc node -z left -20 0; bspc node -z right 20 0}
alt + f
bspc node focused.fullscreen -t tiled || bspc node focused.tiled -t fullscreen
alt + shift + space
bspc node focused.floating -t tiled || bspc node focused.tiled -t floating
alt + shift + q
bspc node -c
alt + shift + r
bspc wm -r && notify-send "🔁 reloaded bspwm"
alt + shift + x
killall sxhkd && notify-send "🔁 reloaded sxhkd" && sxhkd &
# Dmenu stuff
alt + {d,w,t,q}
{dmenu_run -i, screen-chooser,clipboard-text,emoji-picker}
super + {F1,F2,F3}
{pixel-lock, power-menu -l, power-menu -p}
# Terminal
alt + ctrl + t
st
alt + ctrl + {n,r,w,v,p,b}
st -e {neomutt,ranger,nmtui,nvim,htop,nvim -c VimwikiIndex}
alt + x
scratchpad gpt
alt + s
scratchpad -h gpt notes
# Brightness
{XF86MonBrightnessUp, XF86MonBrightnessDown}
brightnessctl set {+5%,5%-}
# Printscreen
Print
scrot --format jpg -z -e 'mv $f ~/tmp/screen/'
shift+Print
scrot --format jpg -z -u -e 'mv $f ~/tmp/screen/'
# Audio
XF86AudioLowerVolume
pactl set-sink-volume @DEFAULT_SINK@ -5%
XF86AudioRaiseVolume
pactl set-sink-volume @DEFAULT_SINK@ +5%
XF86AudioMute
pactl set-sink-mute @DEFAULT_SINK@ toggle
XF86AudioMicMute
pactl set-source-mute @DEFAULT_SOURCE@ toggle
# Launch programms
super + {f,s,p}
start-and-notify {firefox,spotify,pavucontrol}