From 23d0a003ec4403a1ecf4b4dd8cc847c1f881c1ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20H=C3=B6hn?= Date: Tue, 24 May 2022 09:07:21 +0200 Subject: [PATCH] shellcheck --- toot_music | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toot_music b/toot_music index 6824818..673d901 100755 --- a/toot_music +++ b/toot_music @@ -1,4 +1,4 @@ #!/bin/bash #!/bin/bash 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:[[:space:]]file:\/\///g')" -echo -e "Ich höre gerade \n${a[1]}${a[2]}${a[3]}${a[4]}"| toot post --media ${a[0]} +echo -e "Ich höre gerade \n${a[1]}${a[2]}${a[3]}${a[4]}"| toot post --media "${a[0]}"