[sway] Corrige les icones de volume

This commit is contained in:
Gregory Trolliet 2025-01-14 18:04:31 +01:00
parent c1df0800a9
commit b39cde24de

View file

@ -17,14 +17,12 @@ if [ "$volume" -lt "10" ]; then
fi fi
if [ "$volume" -gt "99" ]; then if [ "$volume" -gt "84" ]; then
echo "$volume%" echo "🔊 $volume%"
elif [ "$volume" -gt "65" ]; then elif [ "$volume" -gt "44" ]; then
echo "$volume%" echo "🔉 $volume%"
elif [ "$volume" -gt "30" ]; then elif [ "$volume" -gt "0" ]; then
echo "$volume%" echo "🔈 $volume%"
elif [ "$volume" -gt "10" ]; then
echo "$volume%"
else else
echo "$volume%" echo "🔇"
fi fi