aboutsummaryrefslogtreecommitdiff
path: root/i3
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2015-10-16 19:05:53 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2015-10-16 19:05:53 +0200
commit0f6d446c5ed961bd4c2986d634d19ccacd739a5c (patch)
tree8177d9bde31602fbedfeaf1b55b904c23535cd4d /i3
parent4646a0c8fa99dd5b965ba6e1a4e52a6c4fcc56c4 (diff)
downloaddotfiles-0f6d446c5ed961bd4c2986d634d19ccacd739a5c.tar.gz
dotfiles-0f6d446c5ed961bd4c2986d634d19ccacd739a5c.zip
set mute indicator based on the playback state and not the volume
Diffstat (limited to 'i3')
-rw-r--r--i3/conkyrc.json3
1 files changed, 1 insertions, 2 deletions
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":