summaryrefslogtreecommitdiff
path: root/.config/sxhkd/sxhkdrc
blob: fb461878066c3a6667f9250d70b5a646f1357cfd (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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# Lock screen 
super + shift + x
	lock

# Take a screenshot
super + Print  
	screenshot
super + Shift + Print  
	windowshot

# Show Keybinding Help
super + F1
	bind-help

# Cmus Bindings
super + m  
	urxvt -name "cmus" -e cmus; pkill -RTMIN+12 dwmblocks
super + shift + m  
	cmus-remote --raw q; pkill -RTMIN+12 dwmblocks
super + {comma, greater, less}
	cmus-remote --{pause,next,prev}; pkill -RTMIN+12 dwmblocks
super + {period, slash}
	$HOME/.local/bin/cmus/toggle-{mode,shuf}

# Volume Control
super + {bracketleft, bracketright}
	volctl 5 {-,+}
super + shift + {braceleft, braceright}
	volctl 10 {-,+}
super + equal
	amixer sset Master 50% unmute && signal-vol
super + backslash
	amixer sset Master toggle && signal-vol

# Program Bindings
super + q
	urxvt -e htop
super + w
	wireshark
super + e
	urxvt -e firejail neomutt
super + shift + e
	~/.local/bin/getmail
super + r
	urxvt -e firejail newsboat 
super + a
	urxvt -e calcurse -D ~/.config/calcurse
super + s
	firejail steam
super + shift + s
	kill-steam
super + d
	dmenu_run
super + f
	firejail firefox
super + shift + f
	firefox
super + z
	$HOME/.local/bin/getpass
super + shift + z
	$HOME/.local/bin/getpass-otp
super + x
	keepassxc
super + c
	urxvt -e clibrary
super + v
	virt-manager
super + Return  
	urxvt

# Function Key Bindings

# Most if not all bindings here should be redundant, as I do not want to have to 
# rely on these keys for primary and/or common bindings

Pause
	cmus-remote --pause;  pkill -RTMIN+12 dwmblocks
XF86AudioStop  
	cmus-remote --pause;  pkill -RTMIN+12 dwmblocks
XF86AudioPlay  
	cmus-remote --pause;  pkill -RTMIN+12 dwmblocks
XF86AudioNext  
	cmus-remote --seek +5
shift + XF86AudioPrev  
	cmus-remote --seek -1m
shift + XF86AudioNext  
	cmus-remote --seek +1m
XF86AudioLowerVolume
	volctl 1 -
XF86AudioRaiseVolume
	volctl 1 +