summaryrefslogtreecommitdiffstats
path: root/.local
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2021-10-18 08:50:21 -0400
committerLuke Smith <luke@lukesmith.xyz>2021-10-18 08:50:21 -0400
commit7deabbf3e443bf7d2afbdd2a57323219e329cbf1 (patch)
treeaa24522f0e469438facd4acf5e0066232e04b3f6 /.local
parent163738e6ad1954c8a8a16dae98829c51cf9da4be (diff)
parent96c782f5121d18896470582ead77dbeb8555265e (diff)
downloadeibhear-7deabbf3e443bf7d2afbdd2a57323219e329cbf1.tar.gz
eibhear-7deabbf3e443bf7d2afbdd2a57323219e329cbf1.tar.zst
eibhear-7deabbf3e443bf7d2afbdd2a57323219e329cbf1.zip
Merge branch 'coloradocolby-sb-volume-fix'
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/statusbar/sb-volume6
1 files changed, 4 insertions, 2 deletions
diff --git a/.local/bin/statusbar/sb-volume b/.local/bin/statusbar/sb-volume
index 61588c3..3cfdc45 100755
--- a/.local/bin/statusbar/sb-volume
+++ b/.local/bin/statusbar/sb-volume
@@ -19,10 +19,12 @@ vol="$(pamixer --get-volume)"
if [ "$vol" -gt "70" ]; then
icon="🔊"
-elif [ "$vol" -lt "30" ]; then
+elif [ "$vol" -gt "30" ]; then
+ icon="🔉"
+elif [ "$vol" -gt "0" ]; then
icon="🔈"
else
- icon="🔉"
+ echo 🔇 && exit
fi
echo "$icon$vol%"