Files
dotfiles/SXHkD/.config/sxhkd/sxhkdrc
dx 4b84e3a3d6 ~super + numbers -> functionk eys
Using the function keys, which aren't used usually, to:
- set my standard volume
- controlling mpd tracks
- setting mpc volume directly
2020-06-06 19:33:54 +01:00

45 lines
775 B
Plaintext

# 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
# 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