diff options
author | Rose <rose@pinkro.se> | 2025-10-10 11:29:10 +0200 |
---|---|---|
committer | Rose <rose@pinkro.se> | 2025-10-10 11:29:10 +0200 |
commit | b7dfa5fdb2330f1e1cd222365055c3d45ad473be (patch) | |
tree | 78e455c8c43c6c00fc4639932ba7315e8c074cd3 /desktop/Local | |
parent | 98424148dfe9ab666ee928df7565e65faa41b61b (diff) | |
download | dotfiles-main.tar.gz dotfiles-main.tar.bz2 |
Diffstat (limited to '')
-rwxr-xr-x | desktop/Local/bin/barstatus (renamed from desktop/.local/bin/barstatus) | 2 | ||||
-rwxr-xr-x | desktop/Local/bin/kittenbar (renamed from desktop/.local/bin/kittenbar) | 0 | ||||
-rwxr-xr-x | desktop/Local/share/barmodules/battery.sh (renamed from desktop/.local/share/barmodules/battery.sh) | 0 | ||||
l--------- | desktop/Local/share/barmodules/enabled/mpv.sh | 1 | ||||
l--------- | desktop/Local/share/barmodules/enabled/qmmp.sh | 1 | ||||
-rwxr-xr-x | desktop/Local/share/barmodules/ice.sh (renamed from desktop/.local/share/barmodules/ice.sh) | 0 | ||||
-rwxr-xr-x | desktop/Local/share/barmodules/mpv.sh (renamed from desktop/.local/share/barmodules/mpv.sh) | 2 | ||||
-rwxr-xr-x | desktop/Local/share/barmodules/qmmp.sh (renamed from desktop/.local/share/barmodules/qmmp.sh) | 0 |
8 files changed, 5 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/enabled/mpv.sh b/desktop/Local/share/barmodules/enabled/mpv.sh new file mode 120000 index 0000000..d0c9416 --- /dev/null +++ b/desktop/Local/share/barmodules/enabled/mpv.sh @@ -0,0 +1 @@ +../mpv.sh
\ No newline at end of file diff --git a/desktop/Local/share/barmodules/enabled/qmmp.sh b/desktop/Local/share/barmodules/enabled/qmmp.sh new file mode 120000 index 0000000..7a7bc04 --- /dev/null +++ b/desktop/Local/share/barmodules/enabled/qmmp.sh @@ -0,0 +1 @@ +../qmmp.sh
\ No newline at end of file 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 |