-
Notifications
You must be signed in to change notification settings - Fork 2
/
basedwm.sxhkdrc
93 lines (76 loc) · 1.69 KB
/
basedwm.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
92
93
super + shift + q
basedc exit
super + shift + c
basedc destroy
super + h
basedc move-all 300 0
super + j
basedc move-all 0 -300
super + k
basedc move-all 0 300
super + l
basedc move-all -300 0
super + shift + h
basedc move-all 50 0
super + shift + j
basedc move-all 0 -50
super + shift + k
basedc move-all 0 50
super + shift + l
basedc move-all -50 0
~button1
basedc pointer-raise
@button1
basedc reset
@button3
basedc reset
super + !button1
basedc pointer-move %i %i
super + @button1
basedc reset
# Pan with super+scroll
super + button4
basedc move-all 0 20
super + button5
basedc move-all 0 -20
super + button6
basedc move-all 30 0
super + button7
basedc move-all -30 0
super + !button3
basedc pointer-resize %i %i
super + @button3
basedc reset
super + shift + !button1
basedc pointer-move-all %i %i
super + shift + @button1
basedc reset
# terminal
super + Return
evilvte
# launcher
super + r
dmenu_run -nb "#111" -nf "#0ff" -sb "#0ff" -sf "#000"
# web browser
super + shift + Return
uzbl-browser
super + alt + {c,f,t,g,p,i}
{chromium,firefox,tor-browser,gimp,mypaint,inkscape}
# make sxhkd reload its configuration files
super + shift + r
pkill -USR1 -x sxhkd
XF86Audio{Raise,Lower}Volume
amixer set Master 3%{+,-} unmute && \
echo -n update | socat - UNIX-CONNECT:/tmp/volumechange.sock
XF86AudioMute
amixer set Master 0 && \
echo -n update | socat - UNIX-CONNECT:/tmp/volumechange.sock
XF86MonBrightness{Up,Down}
xbacklight {-inc,-dec} 5%
# power controls
super + ctrl + alt + h
systemctl hibernate
super + ctrl + alt + r
systemctl reboot
super + ctrl + alt + q
systemctl poweroff