diff options
| author | Caroline Larimore <caroline@larimo.re> | 2025-08-16 23:52:41 -0700 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2025-08-16 23:52:41 -0700 |
| commit | 13736c79ad5cdd691f79bef6270b691127c9af68 (patch) | |
| tree | d2ae7fd52ef4fb4dd3690447bdefd7329aca4b73 /modules/home/desktop/components/eww/default.nix | |
| parent | e86fd609d06f011e798dafda07863f46cf6d8a56 (diff) | |
eww: dumb fix for media cover image failing to load
Diffstat (limited to 'modules/home/desktop/components/eww/default.nix')
| -rw-r--r-- | modules/home/desktop/components/eww/default.nix | 2 |
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 |