diff options
Diffstat (limited to 'desktop/.local/bin/barstatus')
-rwxr-xr-x | desktop/.local/bin/barstatus | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/desktop/.local/bin/barstatus b/desktop/.local/bin/barstatus index 413e9d8..d0e92e6 100755 --- a/desktop/.local/bin/barstatus +++ b/desktop/.local/bin/barstatus @@ -1,5 +1,5 @@ #!/bin/sh -echo -n "SPKR: $(wpctl get-volume @DEFAULT_AUDIO_SINK@ 2> /dev/null ) ; MIC: $(wpctl get-volume @DEFAULT_AUDIO_SOURCE@ 2> /dev/null) " +echo -n "SPKR: $(wpctl get-volume @DEFAULT_AUDIO_SINK@ 2> /dev/null | sed 's/\.//g' )% ; MIC: $(wpctl get-volume @DEFAULT_AUDIO_SOURCE@ 2> /dev/null | sed 's/\.//g')%" echo -n " | " echo -n "$(date)" echo -n " | " @@ -18,3 +18,6 @@ if [ $? -eq 0 ]; then fi echo -n "$(qmmp --status | head -1)" fi +for f in ${HOME}/.local/share/barmodules/enabled/*; do + [ -x "$f" ] && [ ! -d "$f" ] && "$f" +done |