diff --git a/bin/spotify-clean b/bin/spotify-clean index 077c50c..f976111 100755 --- a/bin/spotify-clean +++ b/bin/spotify-clean @@ -3,4 +3,4 @@ pactl list short clients \ | awk '($3 == "spotify") {print $1}' \ | head -n-1 \ - | xargs -rn1 pw-cli destroy + | xargs -rn1 pacmd kill-client diff --git a/dotfiles/systemd/spotify-clean.timer b/dotfiles/systemd/spotify-clean.timer index 91b8269..2bd5c80 100644 --- a/dotfiles/systemd/spotify-clean.timer +++ b/dotfiles/systemd/spotify-clean.timer @@ -4,3 +4,4 @@ After=pulseaudio.socket [Timer] OnUnitActiveSec=1h +OnStartupSec=1h