ix volume script
This commit is contained in:
parent
41c41b7702
commit
294ad801e4
@ -5,10 +5,10 @@ local icon
|
|||||||
if [[ "$(pamixer --get-mute)" = "true" ]]; then
|
if [[ "$(pamixer --get-mute)" = "true" ]]; then
|
||||||
icon=''
|
icon=''
|
||||||
elif ((${volume} > 50)); then
|
elif ((${volume} > 50)); then
|
||||||
icon=''
|
icon=''
|
||||||
elif ((${volume} > 0)); then
|
elif ((${volume} > 0)); then
|
||||||
icon=''
|
icon=''
|
||||||
else
|
else
|
||||||
icon=''
|
icon='?'
|
||||||
fi
|
fi
|
||||||
printf '%s%3d%%\n' "${icon}" "${volume}"
|
printf '%s%3d%%\n' "${icon}" "${volume}"
|
||||||
|
Loading…
Reference in New Issue
Block a user