New backup 2025-03-04 21:00:02
This commit is contained in:
parent
6f469c3d35
commit
6c85db2252
2 changed files with 7 additions and 3 deletions
|
@ -367,15 +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?format=j1')
|
'curl wttr.in/Eugene?0')
|
||||||
(defwidget weather [json]
|
(defwidget weather [json]
|
||||||
(box
|
(box
|
||||||
:class "weather"
|
:class "weather"
|
||||||
:orientation "h"
|
:orientation "v"
|
||||||
:width 300
|
:width 300
|
||||||
:height 200
|
:height 200
|
||||||
"${json.current_condition[0].FeelsLikeF}°F"))
|
; "${json.current_condition[0].FeelsLikeF}°F"
|
||||||
|
; "${json.current_condition[0].FeelsLikeC}°C"
|
||||||
|
{json}))
|
||||||
|
|
||||||
(defwindow widgets
|
(defwindow widgets
|
||||||
:windowtype "normal"
|
:windowtype "normal"
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 111 KiB After Width: | Height: | Size: 45 KiB |
Loading…
Add table
Reference in a new issue