eww -> music: Fixed undefined vars
This commit is contained in:
parent
4c59ef2bdd
commit
80f31f24f4
1 changed files with 3 additions and 3 deletions
|
@ -16,10 +16,10 @@
|
|||
:hexpand false
|
||||
:style "background-image: url('${WAIFU_MODE ? FALLBACK_COVER : music_info.artUrl ?: FALLBACK_COVER }');"
|
||||
:onclick `
|
||||
if [ "$(eww get COVER_HIDDEN)" == "true" ]; then
|
||||
eww update COVER_HIDDEN=false
|
||||
if [ "$(eww get WAIFU_MODE)" == "true" ]; then
|
||||
eww update WAIFU_MODE=false
|
||||
else
|
||||
eww update COVER_HIDDEN=true
|
||||
eww update WAIFU_MODE=true
|
||||
fi
|
||||
`)
|
||||
(box
|
||||
|
|
Loading…
Reference in a new issue