More changes to bar look.
This commit is contained in:
parent
dc9d5df7e4
commit
e0a52c52b0
4 changed files with 13 additions and 13 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
vol="$(pamixer --get-volume)"
|
||||
[ $(echo $vol | wc -c) -lt 4 ] && svol=" ${vol}%%" || svol="${vol}%%"
|
||||
[ $(pamixer --get-mute) = true ] && volinfo="\ue04f ^c#161616^^b#fd4285^mute^d^" || volinfo="\ue050 ${svol}"
|
||||
[ $(pamixer --get-mute) = true ] && volinfo="^c#161616^^b#fd4285^\ue04f mute^d^" || volinfo="\ue050 ${svol}"
|
||||
device=$(pamixer --list-sources | awk '/Raven/ {print $1}')
|
||||
[ $(pamixer --source $device --get-mute) = true ] && micinfo="\ue02b ^c#161616^^b#fd4285^MM^d^" || micinfo="\ue02a on"
|
||||
[ $(pamixer --source $device --get-mute) = true ] && micinfo="^c#161616^^b#fd4285^\ue02b MM^d^" || micinfo="\ue02a on"
|
||||
printf "${volinfo} (${micinfo})"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue