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
|
||||
:style "background-image: url('${rat_image}');"))
|
||||
|
||||
;(defpoll weather_status :interval "600s"
|
||||
; 'curl wttr.in/Eugene?format=j1')
|
||||
(defpoll weather_status :interval "600s"
|
||||
'curl wttr.in/Eugene?0')
|
||||
'curl wttr.in/Eugene?format=j1')
|
||||
(defwidget weather [json]
|
||||
(box
|
||||
:class "weather"
|
||||
:orientation "v"
|
||||
:width 300
|
||||
:height 200
|
||||
; "${json.current_condition[0].FeelsLikeF}°F"
|
||||
; "${json.current_condition[0].FeelsLikeC}°C"
|
||||
{json}))
|
||||
:space-evenly false
|
||||
:spacing 20
|
||||
"Eugene, OR"
|
||||
"${json.weather.maxtempF}"
|
||||
"${json.current_condition[0].temp_F}°F (Feels like ${json.current_condition[0].FeelsLikeF}°F)"))
|
||||
|
||||
(defwindow widgets
|
||||
: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