Last active
April 26, 2022 05:41
-
-
Save dewomser/aa08d6a71d11ffe1defb5db37f5e240c to your computer and use it in GitHub Desktop.
Desktop Button für KDE/Linux vertootet abgespielte Musik mit Clementine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
Comment[de_DE]= | |
Comment= | |
Exec=readarray a <<< "$(qdbus org.mpris.MediaPlayer2.clementine /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep -E 'artUrl|genre|artist|album:|title:'| sed -e 's/xesam://g'| sed -e 's/mpris:artUrl: file:\\/\\///g')"; toot post "${a[1]} ${a[2]} ${a[3]} ${a[4]}" --media ${a[0]} --debug\n | |
GenericName[de_DE]=Funktioniert nur wenn in Clementine Musik apielt | |
GenericName=Funktioniert nur wenn in Clementine Musik apielt | |
Icon=clementine | |
MimeType= | |
Name[de_DE]=Höre und Toote | |
Name=Höre und Toote | |
Path= | |
StartupNotify=true | |
Terminal=false | |
TerminalOptions= | |
Type=Application | |
X-DBUS-ServiceName= | |
X-DBUS-StartupType= | |
X-KDE-SubstituteUID=false | |
X-KDE-Username= |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
horch_und_toot.desktop einfach in den Ordner ~/Scheibtisch kopieren. Sollte spfort funktioniren.