diff options
author | Eduardo Pedroni <e.pedroni91@gmail.com> | 2016-03-27 17:48:03 +0200 |
---|---|---|
committer | Eduardo Pedroni <e.pedroni91@gmail.com> | 2016-03-27 17:48:03 +0200 |
commit | 4204101ab389a6cd0ece10e5cdf12116c183a52f (patch) | |
tree | 7320298c312019d09b39927ba0b81ac56bf68ed0 | |
parent | 5287466d9b12f385bc42dad3e21dc49c0b82ca9b (diff) |
Bad idea actually, undo
-rwxr-xr-x | dwm-statusbar | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dwm-statusbar b/dwm-statusbar index a79f328..453488e 100755 --- a/dwm-statusbar +++ b/dwm-statusbar @@ -37,8 +37,8 @@ print_time() { print_volume() { # empty E022, low E023, full E024, mid E03B - volume=$(amixer get Master -M | tail -n1 | sed -r 's/.*\[(.*)%\].*/\1/') - mute="$(amixer get Master -M | tail -n1 | sed -r 's/.*\[(on|off)\].*/\1/')" + volume=$(amixer get Master | tail -n1 | sed -r 's/.*\[(.*)%\].*/\1/') + mute="$(amixer get Master | tail -n1 | sed -r 's/.*\[(on|off)\].*/\1/')" if [ "$mute" == "off" ]; then vol_colour=$colour_warning |