eww -> music: Fixed undefined vars

This commit is contained in:
GaspardCulis 2024-03-10 19:24:44 +01:00
parent 4c59ef2bdd
commit 80f31f24f4

View file

@ -16,10 +16,10 @@
:hexpand false :hexpand false
:style "background-image: url('${WAIFU_MODE ? FALLBACK_COVER : music_info.artUrl ?: FALLBACK_COVER }');" :style "background-image: url('${WAIFU_MODE ? FALLBACK_COVER : music_info.artUrl ?: FALLBACK_COVER }');"
:onclick ` :onclick `
if [ "$(eww get COVER_HIDDEN)" == "true" ]; then if [ "$(eww get WAIFU_MODE)" == "true" ]; then
eww update COVER_HIDDEN=false eww update WAIFU_MODE=false
else else
eww update COVER_HIDDEN=true eww update WAIFU_MODE=true
fi fi
`) `)
(box (box