New backup 2025-03-04 21:15:02
This commit is contained in:
parent
6c85db2252
commit
c88a8fd5e1
2 changed files with 6 additions and 6 deletions
|
@ -367,19 +367,19 @@
|
||||||
:height 300
|
:height 300
|
||||||
:style "background-image: url('${rat_image}');"))
|
:style "background-image: url('${rat_image}');"))
|
||||||
|
|
||||||
;(defpoll weather_status :interval "600s"
|
|
||||||
; 'curl wttr.in/Eugene?format=j1')
|
|
||||||
(defpoll weather_status :interval "600s"
|
(defpoll weather_status :interval "600s"
|
||||||
'curl wttr.in/Eugene?0')
|
'curl wttr.in/Eugene?format=j1')
|
||||||
(defwidget weather [json]
|
(defwidget weather [json]
|
||||||
(box
|
(box
|
||||||
:class "weather"
|
:class "weather"
|
||||||
:orientation "v"
|
:orientation "v"
|
||||||
:width 300
|
:width 300
|
||||||
:height 200
|
:height 200
|
||||||
; "${json.current_condition[0].FeelsLikeF}°F"
|
:space-evenly false
|
||||||
; "${json.current_condition[0].FeelsLikeC}°C"
|
:spacing 20
|
||||||
{json}))
|
"Eugene, OR"
|
||||||
|
"${json.weather.maxtempF}"
|
||||||
|
"${json.current_condition[0].temp_F}°F (Feels like ${json.current_condition[0].FeelsLikeF}°F)"))
|
||||||
|
|
||||||
(defwindow widgets
|
(defwindow widgets
|
||||||
:windowtype "normal"
|
:windowtype "normal"
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 52 KiB |
Loading…
Add table
Reference in a new issue