diff options
| author | ivan-boikov <ik.boikov.public@protonmail.com> | 2022-05-22 18:11:15 +0200 |
|---|---|---|
| committer | ivan-boikov <ik.boikov.public@protonmail.com> | 2022-05-22 18:11:15 +0200 |
| commit | 688f02cc56104ef13dc923ee86c9801cecf0f759 (patch) | |
| tree | 850a13167c7bdbc6f3be9bc6d2877090b2065805 /scripts/.local/bin/statusbar/sb-volume | |
| parent | 832badeaff2a74f19416f5fe637985ff93105423 (diff) | |
updated scripts
Diffstat (limited to 'scripts/.local/bin/statusbar/sb-volume')
| -rwxr-xr-x | scripts/.local/bin/statusbar/sb-volume | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/scripts/.local/bin/statusbar/sb-volume b/scripts/.local/bin/statusbar/sb-volume index 3cfdc45..2b7ce67 100755 --- a/scripts/.local/bin/statusbar/sb-volume +++ b/scripts/.local/bin/statusbar/sb-volume @@ -17,14 +17,10 @@ esac vol="$(pamixer --get-volume)" -if [ "$vol" -gt "70" ]; then - icon="🔊" -elif [ "$vol" -gt "30" ]; then - icon="🔉" -elif [ "$vol" -gt "0" ]; then - icon="🔈" +if [ "$vol" -gt "0" ]; then + icon="" else - echo 🔇 && exit + echo  && exit fi echo "$icon$vol%" |
