From 5c899f1fe5ad5b0197cc4fd9cd7f5c6139eff122 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sat, 28 Feb 2015 16:34:05 -0500 Subject: always-up-to-date volume/icon in panel --- sxhkd/.config/sxhkd/sxhkdrc | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'sxhkd') diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc index a1a9795..c8ded7b 100644 --- a/sxhkd/.config/sxhkd/sxhkdrc +++ b/sxhkd/.config/sxhkd/sxhkdrc @@ -124,17 +124,10 @@ XF86AudioNext mpc next XF86AudioRaiseVolume - pamixer --allow-boost --increase 5;\ - pamixer --get-volume > /tmp/volinfo + pamixer --allow-boost --increase 5 XF86AudioLowerVolume - pamixer --allow-boost --decrease 5;\ - pamixer --get-volume > /tmp/volinfo + pamixer --allow-boost --decrease 5 XF86AudioMute - pamixer --toggle-mute;\ - if $(pamixer --get-mute) ; then;\ - echo ⮝ > /tmp/spkicon;\ - else;\ - echo ⮟ > /tmp/spkicon;\ - fi + pamixer --toggle-mute -- cgit v1.2.3-60-g2f50