Snellck grrr

This commit is contained in:
dewomser 2022-05-25 13:54:53 +02:00
parent f774e9bd95
commit a49fb7d8b8

View file

@ -7,9 +7,9 @@ user="dewomser"
#//Musikinfo von Clementie Audioplayer holen
readarray -t 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)
#pfad=$(pwd)
#cp ${a[0]} "$pfad"cover.jpg
cp ${a[0]} $PWD/cover.jpg
cp "${a[0]}" "$PWD"/cover.jpg
# Daten an den Twitterclient
a[5]="https://www.youtube.com/results?search_query=${a[2]} ${a[4]}"
lolo="${a[5]// /+}"
@ -21,7 +21,6 @@ ${a[2]}
${a[4]}
$lolo"
echo $text
#exit
#// Bildgröße in Byte ermitteln