aboutsummaryrefslogtreecommitdiff
path: root/stow/sxhkd/.config/sxhkd/sxhkdrc
blob: f7268024ff0d542c2d0229e966b5904f6a518db7 (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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
#           _     _       _
#  _____  _| |__ | | ____| |_ __ ___
# / __\ \/ / '_ \| |/ / _` | '__/ __|
# \__ \>  <| | | |   < (_| | | | (__
# |___/_/\_\_| |_|_|\_\__,_|_|  \___|
#
# Config file for the Simple X HotKey Daemon

#super + Return
#	urxvt -title "floating" -e tmux
super + control + Return
	urxvt -title "floating" -e tmux

super + shift + Return
	urxvt -e tmux

super + x
	dmenu_run -c -bw 3 -l 8 -p "~$"

# Jump to window
super + ctrl + j
	rofi -show window

super + ctrl + x
	sxivslideshot

# system control
super + ctrl + s
	~/scripts/systemControl.sh

# lock
super + ctrl + shift + l
	~/scripts/i3lock.sh

# touchpad
# super + t
# 	touchpad.sh

# From https://faq.i3wm.org/question/3747/enabling-multimedia-keys/?answer=3759#post-id-3759
# Pulse Audio controls
#increase sound volume
XF86Audio{Lower,Raise}Volume
	~/scripts/vol.sh "{-,+}$CONFIG_VOL_CHANGE"
super + XF86Audio{Lower,Raise}Volume
	~/scripts/vol.sh "{-,+}$CONFIG_BIG_VOL_CHANGE"
#mute sound
XF86AudioMute
	~/scripts/vol.sh "mute"

# Sreen brightness controls
# increase screen brightness
XF86MonBrightness{Up,Down}
	~/scripts/brightness.sh "{_,-}$CONFIG_BRIGHT_CHANGE"
super + XF86MonBrightness{Up,Down}
	~/scripts/brightness.sh "{_,-}$CONFIG_BIG_BRIGHT_CHANGE"

# Media player controls
XF86AudioPlay
	~/scripts/cmusPlay.sh
XF86Audio{Prev,Next}
	cmus-remote -{r,n} && pkill -SIGRTMIN+12 i3blocks

## Programs

super + q
	qutebrowser

super + shift + f
	firefox

# super + shift + w
# 	prevBG

super + w
	setRandomBG.sh

Print
	screenshot.sh

super + s
	screenshot.sh

super + a
	screenshot.sh -a

super + shift + a
	screenshot.sh -c

super + r
	urxvt -title "floating" -e ranger

super + shift + c
	~/scripts/dmenuTerm.sh

super + d
	~/scripts/dmenuDic.sh

super + shift + t
	dmenutranslate

super + e
	~/scripts/emoji.sh

super + shift + m
	~/scripts/dmenuMount.sh

super + control + m
	~/scripts/dmenuUmount.sh

super + control + shift + c
	notify-send "$(fortune)"

super + y
	surfraw.sh

super + ctrl + f
	screenRecord.sh

super + ctrl + n
	~/scripts/quicktext.sh

super + ctrl + p
	passmenu

super + z
	docs.sh

super + ctrl + space
	toggleKBLayouts.sh