diff --git a/de/home/.config/eww/eww.scss b/de/home/.config/eww/eww.scss index 154d8f7..107c07e 100644 --- a/de/home/.config/eww/eww.scss +++ b/de/home/.config/eww/eww.scss @@ -157,8 +157,8 @@ circular-progress { .music { color: $bar-module-fg-color; - background-color: transparent; - border: none; + background-color: $bar-module-bg-color; + border-radius: $bar-module-border-radius; } .rightgroup>label, .active_window{ diff --git a/de/home/.config/eww/modules/bar/music.yuck b/de/home/.config/eww/modules/bar/music.yuck index 3439c44..b270e1d 100644 --- a/de/home/.config/eww/modules/bar/music.yuck +++ b/de/home/.config/eww/modules/bar/music.yuck @@ -7,4 +7,4 @@ :orientation "h" :space-evenly false :halign "center" - {nowplaying != "" ? "🎵 ${nowplaying}" : ""})) + {nowplaying != "" ? "󰎇 ${nowplaying}" : ""})) diff --git a/de/home/.config/eww/modules/home.yuck b/de/home/.config/eww/modules/home.yuck index 05b1e11..2d2c877 100644 --- a/de/home/.config/eww/modules/home.yuck +++ b/de/home/.config/eww/modules/home.yuck @@ -4,6 +4,7 @@ :spacing 10 :width 300 :space-evenly false + (nowplayingart) (rat) (weather :json weather_status) (shortcuts) @@ -11,6 +12,7 @@ (softwareupdates :json {software_list}) (reminders :json {jq(reminders_list,'.reminders')}))) +(include "modules/home/nowplayingart.yuck") (include "modules/home/rat.yuck") (include "modules/home/weather.yuck") (include "modules/home/shortcuts.yuck") diff --git a/de/home/.config/eww/modules/home/nowplayingart.yuck b/de/home/.config/eww/modules/home/nowplayingart.yuck new file mode 100644 index 0000000..ae8a20c --- /dev/null +++ b/de/home/.config/eww/modules/home/nowplayingart.yuck @@ -0,0 +1,10 @@ +;(defpoll rat_image :interval "60s" +; 'scripts/home/randomrat') +(defwidget nowplayingart [] + (box + :class "rat" + :orientation "h" + :width 300 + :height 300 + :style "background-image: url('https://listen.pogmom.me/rest/getCoverArt.view?id=952&u=pogmommy&p=mG%232001068485&v=1.13.0&c=Feishin&size=300');")) +; :style "background-image: url('${rat_image}');")) diff --git a/de/home/.config/eww/modules/home/weather.yuck b/de/home/.config/eww/modules/home/weather.yuck index c56c39b..b0b7b7d 100644 --- a/de/home/.config/eww/modules/home/weather.yuck +++ b/de/home/.config/eww/modules/home/weather.yuck @@ -1,4 +1,4 @@ -(defpoll weather_status :initial "{'condition':'loading...','current_temp':'--','feels_temp':'--','min_temp':'--','max_temp':'--','humidity':'--','icon':' ','updated':'loading...'}" +(defpoll weather_status :initial '{"condition":"loading...","current_temp":"--","feels_temp":"--","min_temp":"--","max_temp":"--","humidity":"--","icon":" ","updated":"loading..."}' :interval "3600s" 'scripts/home/hass_weather') (defwidget weather [json]