diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2019-02-07 12:24:54 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2019-02-07 12:24:54 +0100 |
| commit | cbc27c883a12974c0a3023b39fbce1e6ed970824 (patch) | |
| tree | c1d088732add2f640c70ae70103a7d6f9fe46b52 /scripts | |
| parent | f268273a37896b776f1faaeb4d7d099a1f164238 (diff) | |
| download | dotfiles-cbc27c883a12974c0a3023b39fbce1e6ed970824.tar.gz dotfiles-cbc27c883a12974c0a3023b39fbce1e6ed970824.zip | |
[audio] display active port not sink
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/audio_status.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/audio_status.sh b/scripts/audio_status.sh index 84a6a01..6e09da8 100755 --- a/scripts/audio_status.sh +++ b/scripts/audio_status.sh @@ -17,7 +17,7 @@ then print_unmute fi - echo -n $(pacmd info | grep 'Default sink' | grep -o '[^.]*$') + echo -n $(pacmd info | grep 'active port.*output' | cut -d"-" -f3 | sed "s/>//") echo " [$(pamixer --get-volume)%]" |
