diff --git a/plugins/shortcuts/mpris.js b/plugins/shortcuts/mpris.js index 53d46ff7..2609ddee 100644 --- a/plugins/shortcuts/mpris.js +++ b/plugins/shortcuts/mpris.js @@ -82,8 +82,11 @@ function registerMPRIS(win) { playPause() } }); + player.on("playpause", () => { + player.playbackStatus = player.playbackStatus == 'Playing' ? "Paused" : "Playing"; + playPause(); + }); - player.on("playpause", playPause); player.on("next", next); player.on("previous", previous);