diff --git a/de/home/.config/eww/eww.scss b/de/home/.config/eww/eww.scss index ee89a32..cf05450 100644 --- a/de/home/.config/eww/eww.scss +++ b/de/home/.config/eww/eww.scss @@ -14,7 +14,7 @@ margin: 0px 10px; } .leftgroup { - margin-left: 10px; + margin-left: 5px; } .rightgroup { margin-right: 10px; @@ -109,6 +109,7 @@ button.active { border-radius:8px; } } + .rat { border-radius: 8px; background-size: cover; @@ -116,5 +117,5 @@ button.active { } .weather { border-radius: 8px; - background-color: ${color7}; + background-color: rgba($color7,0.5); } diff --git a/de/home/.config/eww/eww.yuck b/de/home/.config/eww/eww.yuck index 3a17572..b330ab3 100644 --- a/de/home/.config/eww/eww.yuck +++ b/de/home/.config/eww/eww.yuck @@ -352,9 +352,9 @@ :orientation "v" :spacing 25 :width 300 - :space-evenly true + :space-evenly false (rat) - (weather))) + (weather :json weather_status))) (defpoll rat_image :interval "60s" 'scripts/randomrat') @@ -365,14 +365,17 @@ :orientation "h" :width 300 :height 300 - :space-evenly true :style "background-image: url('${rat_image}');")) -(defwidget weather [] +(defpoll weather_status :interval "600s" + 'curl wttr.in/Eugene?format=j1') +(defwidget weather [json] (box :class "weather" + :orientation "h" :width 300 - :height 200)) + :height 200 + "${json.current_condition[0].FeelsLikeF}°F")) (defwindow widgets :windowtype "normal" diff --git a/de/home/.config/eww/rat.jpg b/de/home/.config/eww/rat.jpg index edd5cfa..cea346f 100644 Binary files a/de/home/.config/eww/rat.jpg and b/de/home/.config/eww/rat.jpg differ