From 0f6d446c5ed961bd4c2986d634d19ccacd739a5c Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Fri, 16 Oct 2015 19:05:53 +0200 Subject: set mute indicator based on the playback state and not the volume --- i3/conkyrc.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'i3') diff --git a/i3/conkyrc.json b/i3/conkyrc.json index 5578795..17c6758 100644 --- a/i3/conkyrc.json +++ b/i3/conkyrc.json @@ -82,8 +82,7 @@ TEXT ################ Volume ######################## {"name": "symbol", "color": "\#ffffff", "full_text": - ${if_match ${exec amixer sget Master | grep Mono: | - sed -e 's/[ \t]* Mono: Playback [0-9]* \[\([0-9]*\)%\].*/\1/'}==0}"M"${else}"U"${endif}, + ${if_match "${exec amixer sget Master | grep "\[on\]"}"==""}"M"${else}"U"${endif}, "separator": false}, {"name": "Volume", "color": "\#ffffff", "full_text": -- cgit v1.2.3