mirror of
https://github.com/dewomser/Toot_music_is_playing.git
synced 2026-03-13 16:37:17 +01:00
grrrrr ssc
This commit is contained in:
parent
bb43d0bd56
commit
4cae504c1d
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ user="twitteruser"
|
|||
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')"
|
||||
#//Bild kopieren
|
||||
pfad=$(pwd)
|
||||
cp ${a[0]} "$pfad/cover.jpg"
|
||||
cp "${a[0]}" "$pfad/cover.jpg"
|
||||
#cp "${a[0]}" "$HOME"/bin/twitter-pic/cover.jpg
|
||||
# Daten an den Twitterclient
|
||||
text="Ich höre gerade:${a[1]}${a[2]}${a[4]}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue