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/volume11
1 files changed, 1 insertions, 10 deletions
diff --git a/Scripts/.local/scripts/status/volume b/Scripts/.local/scripts/status/volume
index cbbafbe..eedd657 100755
--- a/Scripts/.local/scripts/status/volume
+++ b/Scripts/.local/scripts/status/volume
@@ -1,11 +1,2 @@
#!/usr/bin/env bash
-sinks="$(pactl list sinks)"
-vol="$(echo "$sinks" | grep '[0-9]\+%' | sed "s,.* \([0-9]\+\)%.*,\1,;1q")"
-mute="$(echo "$sinks" | grep "Mute: " | sed "s/.*Mute: //g")"
-case "$mute" in
- "no")
- printf "";;
- "yes")
- printf "";;
-esac
-echo " $vol%"
+echo "" $(pamixer --get-volume-human)