eww -> bar -> music: Rename variable

This commit is contained in:
GaspardCulis 2024-03-07 13:37:13 +01:00
parent 3e4832a125
commit db65191c72

View file

@ -1,4 +1,4 @@
(defvar COVER_HIDDEN false) ; Bcz sometimes I listen to Geoxor, so, yeah... (defvar WAIFU_MODE false) ; Bcz sometimes I listen to Geoxor, so, yeah...
(defvar FALLBACK_COVER "/home/gaspard/Images/Icons/music-disk.png") (defvar FALLBACK_COVER "/home/gaspard/Images/Icons/music-disk.png")
(defvar PLAY_STATUS "⏸︎") (defvar PLAY_STATUS "⏸︎")
@ -14,7 +14,7 @@
:class "art" :class "art"
:vexpand false :vexpand false
:hexpand false :hexpand false
:style "background-image: url('${COVER_HIDDEN ? 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 COVER_HIDDEN)" == "true" ]; then
eww update COVER_HIDDEN=false eww update COVER_HIDDEN=false