diff --git a/scripts/xmobar-status-vol b/scripts/xmobar-status-vol
index ea9141e..18ff913 100755
--- a/scripts/xmobar-status-vol
+++ b/scripts/xmobar-status-vol
@@ -18,21 +18,29 @@ cyan=#2aa198
green=#859900
color=$cyan
-volume="$(amixer sget Master | grep 'Front Left')"
-if [ "${volume}" = "${volume%\[off\]*}" ]
-then
- volume="${volume#*\[}"
- status="${volume%%\%\]*}"
- case $((status/50)) in
- 0) icon="" ;; # fa-volume-down f027
- 1) icon="" ;; # fa-volume-up f028
- *) icon=""; color=$orange ;; # fa-volume-up f028
- esac
-else
- status=MUTE
+vol="$(pamixer --get-volume)"
+
+if [ $(pamixer --get-mute) = true ]; then
+ vol=MUTE
color=$red
icon="" # fa-volume-off f026
+
+ echo "$icon $vol"
fi
-echo "$icon $status"
+if [ "$vol" -gt "100" ]; then
+ icon=""
+ color=$orange
+elif [ "$vol" -gt "70" ]; then
+ icon=""
+elif [ "$vol" -gt "30" ]; then
+ icon=""
+elif [ "$vol" -gt "0" ]; then
+ icon=""
+else
+ vol=MUTE
+ color=$red
+ icon=""
+fi
+echo "$icon $vol"