From 308fd99861a1f4ac3f5b87d36abfe8e02df224b0 Mon Sep 17 00:00:00 2001 From: jason Date: Mon, 22 Jul 2019 14:36:09 -0600 Subject: i3bar updates and volume script fix --- scripts/bin/notifyvolume | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/bin/notifyvolume b/scripts/bin/notifyvolume index 0da7337..4b43b00 100755 --- a/scripts/bin/notifyvolume +++ b/scripts/bin/notifyvolume @@ -1,3 +1,3 @@ #!/bin/bash -exec /usr/bin/notify-send -t 1000 -i volume-knob "Volume $(amixer -q | grep -A5 Master | grep '%' | cut -d'[' -f2 | cut -d']' -f1)" +exec amixer set Master $@ | grep "Mono: Playback" | cut -d '[' -f2 | cut -d ']' -f1 | xargs /usr/bin/notify-send -t 500 -i volume-knob -- cgit v1.2.1