aboutsummaryrefslogtreecommitdiff
path: root/SXHkD/.config/sxhkd/sxhkdrc
blob: 16094638dc9364a409d2cd2a8798cd5356491ce0 (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
# Launchers
{super + Return, hyper + a}
  alacritty

super + a
  dmenu_run

hyper + e
    $HOME/.emacs_anywhere/bin/run

hyper + s
  qutebrowser

hyper + q
  emacsclient -c -s MAIN -a=emacs

hyper + l
  $HOME/.local/scripts/lock

hyper + d
  $HOME/.local/scripts/background

hyper + m
  $HOME/.local/scripts/playlist_choice

# Music and volume
F{6,7,8}
  mpc -q {prev,toggle,next}; \
  pkill -RTMIN+11 dwmblocks

XF86Audio{Prev,Next}
  mpc -q {prev,next}; \
  pkill -RTMIN+11 dwmblocks

{_,hyper + }F{9,10}
  {pactl set-sink-volume 0,$HOME/.local/scripts/mpc_volume} {-,+}5%; \
  pkill -RTMIN+12 dwmblocks

{_,hyper + }XF86Audio{Lower,Raise}Volume
  {pactl set-sink-volume 0,$HOME/.local/scripts/mpc_volume} {-,+}5%; \
  pkill -RTMIN+12 dwmblocks

XF86MonBrightness{Down,Up}
  xbacklight {-,+}15

F{3,4}
  xbacklight {-,+}15