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:
parent
1cac4b335d
commit
8b63d42f2d
@ -42,6 +42,6 @@
|
|||||||
"escape": true,
|
"escape": true,
|
||||||
"exec": "playerctl metadata --format '{{uc(playerName)}}: {{ artist }} - {{ album }} - {{ title }} {{emoji(status)}}' || echo 'Stopped '",
|
"exec": "playerctl metadata --format '{{uc(playerName)}}: {{ artist }} - {{ album }} - {{ title }} {{emoji(status)}}' || echo 'Stopped '",
|
||||||
"interval": 15,
|
"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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user