summaryrefslogtreecommitdiff
path: root/.config/sxhkd/sxhkdrc
blob: 997ed1db680a55c5e59e64c6789797dc542fd76a (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
# 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; sleep 1; 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 vim
super + r
	urxvt -e ranger 
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 + 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 +