Update sound-control.sh
This commit is contained in:
parent
ee1321e857
commit
fef223a62f
@ -5,10 +5,12 @@ function print-volume {
|
|||||||
local icon
|
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=''
|
||||||
|
elif ((${volume} == 0)); then
|
||||||
|
icon=''
|
||||||
else
|
else
|
||||||
icon='?'
|
icon='?'
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user