From 18023d2e18823cb743d079e692dfebe3be5e15c3 Mon Sep 17 00:00:00 2001 From: Chongo Bong Date: Wed, 25 May 2022 11:34:02 -0600 Subject: [PATCH] Update desktop file action, use play/pause instead of play and pause Condenses it a bit. looks cleaner, yet provides the same functionality as before. --- .../org.strawberrymusicplayer.strawberry.desktop | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/dist/unix/org.strawberrymusicplayer.strawberry.desktop b/dist/unix/org.strawberrymusicplayer.strawberry.desktop index 3b077347a..6fa8926ef 100755 --- a/dist/unix/org.strawberrymusicplayer.strawberry.desktop +++ b/dist/unix/org.strawberrymusicplayer.strawberry.desktop @@ -12,15 +12,11 @@ Categories=AudioVideo;Player;Qt;Audio; StartupNotify=false MimeType=x-content/audio-player;application/ogg;application/x-ogg;application/x-ogm-audio;audio/flac;audio/ogg;audio/vorbis;audio/aac;audio/mp4;audio/mpeg;audio/mpegurl;audio/vnd.rn-realaudio;audio/x-flac;audio/x-oggflac;audio/x-vorbis;audio/x-vorbis+ogg;audio/x-speex;audio/x-wav;audio/x-wavpack;audio/x-ape;audio/x-mp3;audio/x-mpeg;audio/x-mpegurl;audio/x-ms-wma;audio/x-musepack;audio/x-pn-realaudio;audio/x-scpls;video/x-ms-asf;x-scheme-handler/tidal; StartupWMClass=strawberry -Actions=Play;Pause;Stop;StopAfterCurrent;Previous;Next; +Actions=Play-Pause;Stop;StopAfterCurrent;Previous;Next; -[Desktop Action Play] -Name=Play -Exec=strawberry --play - -[Desktop Action Pause] -Name=Pause -Exec=strawberry --pause +[Desktop Action Play-Pause] +Name=Play/Pause +Exec=strawberry --play-pause [Desktop Action Stop] Name=Stop