aboutsummaryrefslogtreecommitdiff
path: root/SXHkD
diff options
context:
space:
mode:
authordx <aryadevchavali1@gmail.com>2020-06-06 19:33:54 +0100
committerdx <aryadevchavali1@gmail.com>2020-06-06 19:33:54 +0100
commit4b84e3a3d6b2e2d0bc2240e9d60b1b592baf7f88 (patch)
treebcfc2fd762afcf8794a9c79717e4efd43a2eca80 /SXHkD
parenta5e10273cf5204e31eb116667bf3948c631c9100 (diff)
downloaddotfiles-4b84e3a3d6b2e2d0bc2240e9d60b1b592baf7f88.tar.gz
dotfiles-4b84e3a3d6b2e2d0bc2240e9d60b1b592baf7f88.tar.bz2
dotfiles-4b84e3a3d6b2e2d0bc2240e9d60b1b592baf7f88.zip
~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
Diffstat (limited to 'SXHkD')
-rw-r--r--SXHkD/.config/sxhkd/sxhkdrc26
1 files changed, 13 insertions, 13 deletions
diff --git a/SXHkD/.config/sxhkd/sxhkdrc b/SXHkD/.config/sxhkd/sxhkdrc
index 05db3a2..382cb7e 100644
--- a/SXHkD/.config/sxhkd/sxhkdrc
+++ b/SXHkD/.config/sxhkd/sxhkdrc
@@ -20,25 +20,25 @@ hyper + l
hyper + d
$HOME/.local/scripts/background
-super + 8
- mpc -q toggle
-
-super + {9,0}
- mpc -q {prev,next}
+# Music and volume
+F{6,7,8}
+ mpc -q {prev,toggle,next}; \
+ pkill -RTMIN+11 dwmblocks
XF86Audio{Prev,Next}
- mpc -q {prev,next}
+ mpc -q {prev,next}; \
+ pkill -RTMIN+11 dwmblocks
-super + {n,m}
- pactl set-sink-volume 0 {-,+}5%; \
- $HOME/.local/scripts/refresh_bar;
+{_,hyper + }F{9,10}
+ {pactl set-sink-volume 0,$HOME/.local/scripts/mpc_volume} {-,+}5%; \
+ pkill -RTMIN+12 dwmblocks
-XF86Audio{Lower,Raise}Volume
- pactl set-sink-volume 0 {-,+}10%; \
- $HOME/.local/scripts/refresh_bar;
+{_,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
-super + {o,p}
+F{3,4}
xbacklight {-,+}15