aboutsummaryrefslogtreecommitdiff
path: root/modules/home/desktop/components/eww
diff options
context:
space:
mode:
Diffstat (limited to 'modules/home/desktop/components/eww')
-rw-r--r--modules/home/desktop/components/eww/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/home/desktop/components/eww/default.nix b/modules/home/desktop/components/eww/default.nix
index aedacba..31a69ad 100644
--- a/modules/home/desktop/components/eww/default.nix
+++ b/modules/home/desktop/components/eww/default.nix
@@ -35,7 +35,7 @@ in {
${pkgs.ffmpeg}/bin/ffmpeg -y -v quiet -i "$cmus_path" -c:v copy -f mjpeg ~/$OUTFILE
fi
else
- mpris=$(${pkgs.playerctl}/bin/playerctl --player=playerctld,cmus,firefox,%any metadata mpris:artUrl)
+ mpris=$(until ${pkgs.playerctl}/bin/playerctl --player=playerctld,cmus,firefox,%any metadata mpris:artUrl; do :; done)
if [[ $mpris == data:image* ]]; then
echo $mpris | sed s/.*,//g | base64 --decode > ~/$OUTFILE