aboutsummaryrefslogtreecommitdiff
path: root/Scripts/.local/scripts/status/volume
diff options
context:
space:
mode:
Diffstat (limited to 'Scripts/.local/scripts/status/volume')
-rwxr-xr-xScripts/.local/scripts/status/volume8
1 files changed, 7 insertions, 1 deletions
diff --git a/Scripts/.local/scripts/status/volume b/Scripts/.local/scripts/status/volume
index 948283c..70c8c5f 100755
--- a/Scripts/.local/scripts/status/volume
+++ b/Scripts/.local/scripts/status/volume
@@ -1,2 +1,8 @@
#!/usr/bin/env bash
-echo " $(pamixer --get-volume-human)"
+
+if [[ $(pamixer --get-mute) == "true" ]]
+then
+ echo ""
+else
+ echo " $(pamixer --get-volume-human)"
+fi