1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-11-24 11:51:50 +08:00

add sleep to prevent delays in status update

This commit is contained in:
juan 2022-02-19 10:38:55 +08:00
parent 1cac4b335d
commit 8b63d42f2d

View File

@ -42,6 +42,6 @@
"escape": true,
"exec": "playerctl metadata --format '{{uc(playerName)}}: {{ artist }} - {{ album }} - {{ title }} {{emoji(status)}}' || echo 'Stopped  '",
"interval": 15,
"on-click": "playerctl play-pause && notify-send `playerctl status` -t 1000"
"on-click": "playerctl play-pause && sleep 0.2 && notify-send `playerctl status` -t 1000"
}
}