OSDN Git Service

fix pulseaudio
authorpaperbenni <paperbenni@gmail.com>
Sat, 1 Aug 2020 17:29:12 +0000 (19:29 +0200)
committerpaperbenni <paperbenni@gmail.com>
Sat, 1 Aug 2020 17:29:12 +0000 (19:29 +0200)
status.sh

index b501487..b746190 100755 (executable)
--- a/status.sh
+++ b/status.sh
@@ -97,7 +97,7 @@ while :; do
     # date time
     date="$date^d^  $(date +'%d-%m')  ^c$DARKBACK^  $(date +'%H:%M')  "
     # volume
-    date="$date^c$LIGHTBACK^  A$(amixer get Master | grep -Eo '[0-9]{1,3}%' | head -1)  "
+    date="$date^c$LIGHTBACK^  A$(amixer -D pulse get Master | grep -Eo '[0-9]{1,3}%' | head -1)  "
 
     # option to disable status text
     if [ -e ~/.instantsilent ] && [ -z "$FORCESTATUS" ]; then