about summary refs log tree commit diff
path: root/dotfiles/sxhkd/sxhkdrc
blob: ee5d56a35d79452bf4f8b9dfbaf45a028aef26ec (plain) (blame)
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
##################################
#
##### DWM #####
##################################

alt + shift + q
    dwmc quit

alt + q
    dwmc killclient

alt + {1-9}
    dwmc viewex {1-9}

alt + shift + {1-9}
    dwmc tagex {1-9}

alt + Tab
   dwmc view

alt + 0
    dwmc viewall

alt + shift + 0
    dwmc tagall


#move clockwise & anticlockwise
alt + k
    dwmc focusstack 1
alt + j
    dwmc focusstack -1

#move windows clockwise and anticlockwsie
alt + shift + k
    dwmc movestack 1
alt + shift + j
    dwmc movestack -1

#cycle layout clockwise and anticlockwise
alt + ctrl + period
    dwmc cyclelayout 1
alt + space
    dwmc cyclelayout 1
alt + ctrl + comma
    dwmc cyclelayout -1


alt + f
    dwmc togglefullscreen
alt + F11
    dwmc togglefullscreen

alt + shift + space
    dwmc togglefloating

alt + b
    dwmc togglebar

##################################
##################################


#enter and leave game mode
alt + shift + F11: ctrl + shift + F11 
    pkill -ALRM sxhkd

# Make sxhkd reload its configuration files
alt + Escape
	pkill -USR1 -x sxhkd

#Screenshot
alt + grave
        bash ~/.scripts/screenshot

####################
##### PROGRAMS #####
####################

# terminal emulator
alt + Return
	st -e zsh

# program launcher
alt + d
	dmenu_run -i

# exit menu
alt + shift + e
	bash ~/.scripts/exit

# video play menu
alt + y
	bash ~/.scripts/videos

# lock session
alt + shift + x
	bash ~/.scripts/i3lock.sh

# file viewer
alt + p
  st -e bash ~/.config/vifm/scripts/vifmrun

# browser
alt + w
	surf -p https://searx.be

# email client
alt + m
  st -e neomutt

# music player
alt + n
	st -e ncmpcpp

# calendar player
alt + u
	st -e calcurse

# program launcher
alt + c
  clipmenu


##################
##### VOLUME #####
##################

# Raise volume
XF86AudioRaiseVolume
  amixer sset Master 5%+
	#pactl set-sink-volume 0 +5%

# Lower volume
XF86AudioLowerVolume
  amixer sset Master 5%-
	#pactl set-sink-volume 0 -5%

# Mute audio
# note: mute always sets audio off (toggle)
XF86AudioMute
  amixer sset Master toggle
	#pactl set-sink-mute 0 toggle


######################
##### BRIGHTNESS #####
######################

XF86MonBrightnessUp
  light -A 5

XF86MonBrightnessDown
  light -U 5

######################
######## MEDIA #######
######################

XF86AudioPlay
  playerctl play

XF86AudioPause
  playerctl pause

XF86AudioNext
  playerctl next

XF86AudioPrev
  playerctl previous

######################
######## OTHER #######
######################

XF86TouchpadToggle
	exec ~/.config/i3/scripts/toggletouchpad.sh