New backup 2025-04-26 22:45:01
This commit is contained in:
parent
b67581c886
commit
1c9f8f9b2a
2 changed files with 15 additions and 0 deletions
|
@ -11,3 +11,4 @@
|
|||
(include "modules/home/rat.yuck")
|
||||
(include "modules/home/weather.yuck")
|
||||
(include "modules/home/shortcuts.yuck")
|
||||
(include "modules/home/notes.yuck")
|
||||
|
|
14
de/home/.config/eww/modules/home/notes.yuck
Normal file
14
de/home/.config/eww/modules/home/notes.yuck
Normal file
|
@ -0,0 +1,14 @@
|
|||
(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]
|
||||
(box
|
||||
:class "weather"
|
||||
:orientation "v"
|
||||
:width 300
|
||||
:height 125
|
||||
:space-evenly true
|
||||
"${json.condition} ${json.icon}"
|
||||
"${json.current_temp}°F / ${json.humidity}% "
|
||||
" ${json.max_temp}°F ${json.min_temp}°F"
|
||||
" ${json.updated}"))
|
Loading…
Add table
Reference in a new issue