This great blue color for notifications in dwmblocks.
This commit is contained in:
parent
d7bf2ea26d
commit
a40c419740
5 changed files with 6 additions and 10 deletions
|
@ -36,7 +36,7 @@ esac
|
|||
|
||||
vol="$(pamixer --sink $sink --get-volume)"
|
||||
[ $(echo $vol | wc -c) -lt 4 ] && svol=" ${vol}%%" || svol="${vol}%%"
|
||||
[ $(pamixer --sink $sink --get-mute) = true ] && volinfo="^c#161616^^b#fd4285^\ue04f mute^d^" || volinfo="\ue050 ${svol}"
|
||||
[ $(pamixer --sink $sink --get-mute) = true ] && volinfo="^c#eeeeee^^b#005577^\ue04f mute^d^" || volinfo="\ue050 ${svol}"
|
||||
device=$(pamixer --list-sources | awk '/Raven/ {print $1}')
|
||||
[ $(pamixer --source $device --get-mute) = true ] && micinfo="^c#161616^^b#fd4285^\ue02b^d^" || micinfo="\ue02a^d^"
|
||||
[ $(pamixer --source $device --get-mute) = true ] && micinfo="^c#eeeeee^^b#005577^\ue02b^d^" || micinfo="\ue02a^d^"
|
||||
printf "${micinfo} ${volinfo}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue