summaryrefslogtreecommitdiff
path: root/.config/sxhkd/sxhkdrc.dwm
blob: 3ade7c8ab7e8fd0df16234edde8d68cb67771c9b (plain)
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
#
# wm independent hotkeys
#

# terminal emulator
super + Return
    sh -c "$TERMINAL"

# program launcher
super + p
	dmenu-desktop

# password manager
super + shift + p
    passmenu -i -l 5

# make sxhkd reload its configuration files:
super + Escape
	pkill -USR1 -x sxhkd

# applications
super + w
    $BROWSER

super + b
    pcmanfm

super + shift + b
    bluecontrol

super + Tab
    sh -c "$TERMINAL -e htop"

super + shift + t
    sh -c "$TERMINAL -e transopen"

super + m
    sh -c "$TERMINAL -e music localhost"

super + shift + m
    sh -c "$TERMINAL -e music"

# volume control
XF86AudioMute
    pamixer -t; pkill -RTMIN+9 dwmblocks

XF86AudioLowerVolume
    pamixer --allow-boost -d 5; pkill -RTMIN+9 dwmblocks

XF86AudioRaiseVolume
    pamixer --allow-boost -i 5; pkill -RTMIN+9 dwmblocks

# touchpad notifications
XF86TouchpadOff
    notify-send 'Touchpad turned off'

XF86TouchpadOn
    notify-send 'Touchpad turned on'

# brightness controls
XF86MonBrightnessUp
	brightnessctl set 5%+

XF86MonBrightnessDown
	brightnessctl set 5%-

# screenshots
{_,shift + } Print
    screenshot area to {clip,file}

ctrl + {_, shift + } Print
    screenshot window to {clip,file}

super + {_, shift + } Print
    screenshot screen to {clip,file}