Skip to content

Commit

Permalink
volume: use PCM instead of Master
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Wong committed May 18, 2012
1 parent 2e86005 commit eb4fb61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dwm-statusbar
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ print_mem_used() {
}

print_volume() {
volume="$(amixer get Master | tail -n1 | sed -r 's/.*\[(.*)%\].*/\1/')"
volume="$(amixer get PCM | tail -n1 | sed -r 's/.*\[(.*)%\].*/\1/')"
echo -ne "\x05Ü\x04 Ô ${volume}%"
}

Expand Down

0 comments on commit eb4fb61

Please sign in to comment.