summaryrefslogtreecommitdiff
path: root/desktop/.local
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xdesktop/Local/bin/barstatus (renamed from desktop/.local/bin/barstatus)2
-rwxr-xr-xdesktop/Local/bin/kittenbar (renamed from desktop/.local/bin/kittenbar)0
-rwxr-xr-xdesktop/Local/share/barmodules/battery.sh (renamed from desktop/.local/share/barmodules/battery.sh)0
-rwxr-xr-xdesktop/Local/share/barmodules/ice.sh (renamed from desktop/.local/share/barmodules/ice.sh)0
-rwxr-xr-xdesktop/Local/share/barmodules/mpv.sh (renamed from desktop/.local/share/barmodules/mpv.sh)2
-rwxr-xr-xdesktop/Local/share/barmodules/qmmp.sh (renamed from desktop/.local/share/barmodules/qmmp.sh)0
6 files changed, 3 insertions, 1 deletions
diff --git a/desktop/.local/bin/barstatus b/desktop/Local/bin/barstatus
index 9a8d79f..ecb461c 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 | sed 's/\.//g' )% ; MIC: $(wpctl get-volume @DEFAULT_AUDIO_SOURCE@ 2> /dev/null | sed 's/\.//g')%"
+echo -n "SPKR: $(wpctl get-volume @DEFAULT_AUDIO_SINK@ 2> /dev/null | sed 's/0\.//g' | sed 's/\.//g' )% ; MIC: $(wpctl get-volume @DEFAULT_AUDIO_SOURCE@ 2> /dev/null | sed 's/0\.//g' | sed 's/\.//g')%"
echo -n " | "
echo -n "$(date)"
for f in ${HOME}/.local/share/barmodules/enabled/*; do
diff --git a/desktop/.local/bin/kittenbar b/desktop/Local/bin/kittenbar
index a2b14c2..a2b14c2 100755
--- a/desktop/.local/bin/kittenbar
+++ b/desktop/Local/bin/kittenbar
diff --git a/desktop/.local/share/barmodules/battery.sh b/desktop/Local/share/barmodules/battery.sh
index 9ff7330..9ff7330 100755
--- a/desktop/.local/share/barmodules/battery.sh
+++ b/desktop/Local/share/barmodules/battery.sh
diff --git a/desktop/.local/share/barmodules/ice.sh b/desktop/Local/share/barmodules/ice.sh
index ae04fcc..ae04fcc 100755
--- a/desktop/.local/share/barmodules/ice.sh
+++ b/desktop/Local/share/barmodules/ice.sh
diff --git a/desktop/.local/share/barmodules/mpv.sh b/desktop/Local/share/barmodules/mpv.sh
index 78b2f7a..a3fe2ec 100755
--- a/desktop/.local/share/barmodules/mpv.sh
+++ b/desktop/Local/share/barmodules/mpv.sh
@@ -3,4 +3,6 @@
if [ -f /tmp/mpvout ]; then
echo -n "mpv: "
tail -1 /tmp/mpvout | tr -d '\n'
+else
+ echo -n "mpv: stopped"
fi
diff --git a/desktop/.local/share/barmodules/qmmp.sh b/desktop/Local/share/barmodules/qmmp.sh
index a0ec01e..a0ec01e 100755
--- a/desktop/.local/share/barmodules/qmmp.sh
+++ b/desktop/Local/share/barmodules/qmmp.sh