Adds delay to mediactrl

This commit is contained in:
Michel Fedde 2025-04-18 13:43:05 +02:00
parent 6d141a1a3b
commit 9d145716ff

View file

@ -30,6 +30,7 @@ stop_playback() {
# Display notification with song information
show_music_notification() {
sleep 0.5s
status=$(playerctl status)
if [[ "$status" == "Playing" ]]; then
song_title=$(playerctl metadata title)