This commit is contained in:
Bartek Stalewski 2021-07-26 18:22:36 +02:00
parent b14876de39
commit 8139187d21
2 changed files with 2 additions and 2 deletions

View File

@ -13,4 +13,4 @@ for i in $(cat ~/.local/share/passwords); do
[ $count -ne 0 ] && export unread=$((unread + count))
fi
done
[ "$unread" -eq 0 ] && printf "\ue158 no new mail" || printf "^c#161616^^b#fd4285^\ue158 new mail: ${unread}^d^"
[ "$unread" -eq 0 ] && printf "\ue0e1 no new mail" || printf "^c#161616^^b#fd4285^\ue0e1 new mail: ${unread}^d^"

View File

@ -5,4 +5,4 @@ vol="$(pamixer --get-volume)"
[ $(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="^c#161616^^b#fd4285^\ue02b MM^d^" || micinfo="\ue02a on"
printf "${volinfo} (${micinfo})"
printf "${volinfo} ${micinfo}"