chore(xmobar): truncated mpris2 output and updated scripts

This commit is contained in:
Afonso Franco 2024-09-12 21:42:04 +01:00
parent 10288c1356
commit d83b2600ec
Signed by: afonso
SSH key fingerprint: SHA256:gkVPzsQQJzqi21ntQBV6pXTx4bYI53rFGI4XtvCpwd4
5 changed files with 19 additions and 7 deletions

View file

@ -13,10 +13,10 @@ else
fi
if [ "$temp" -ge "$temp2" ] ; then
echo "<fc=#7C6F64><fn=6></fn></fc> <fc=#FB4934> $temp°C</fc>"
echo "<fc=#D79921><fn=6></fn></fc> <fc=#FB4934> $temp°C</fc>"
elif [ "$temp" -ge "$temp1" ] ; then
echo "<fc=#7C6F64><fn=6></fn></fc> <fc=#FE8019> $temp°C</fc>"
echo "<fc=#D79921><fn=6></fn></fc> <fc=#FE8019> $temp°C</fc>"
else
echo "<fc=#7C6F64><fn=6></fn></fc> <fc=#B8BB26> $temp°C</fc>"
echo "<fc=#D79921><fn=6></fn></fc> <fc=#B8BB26> $temp°C</fc>"
fi