From 90dc7e3a3779ec2517c30b972f2c46efc19d2706 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 11 Jan 2016 16:50:10 +0100 Subject: make i3bar volume info work with pamixer or amixer 1) change conkyrc file 2) add script that prints a status line follwing this scheme: M|U Volume:| [%] --- i3/conkyrc.json | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'i3') diff --git a/i3/conkyrc.json b/i3/conkyrc.json index bea7884..ff2c6e2 100644 --- a/i3/conkyrc.json +++ b/i3/conkyrc.json @@ -85,16 +85,8 @@ TEXT ################ Volume ######################## - {"name": "symbol", "color": "\#ffffff", "full_text": - ${if_match "${exec pamixer --get-mute}"=="true"}"M"${else}"U"${endif}, - "separator": false}, - - {"name": "card", "color": "\#ffffff", "separator": false, - "full_text": "${exec pacmd info | grep 'Default sink' | grep -o '[^.]*$'}"}, - - {"name": "Volume", "color": "\#ffffff", "full_text": - "[${exec pamixer --get-volume}%]"}, - + {"name": "volume status", "color": "\#ffffff", "full_text": + "${exec ~/.dotfiles/scripts/audio_status.sh}"}, ################# Battery #################### -- cgit v1.2.3