New backup 2025-03-04 20:45:01
This commit is contained in:
parent
b83e38abc5
commit
6f469c3d35
3 changed files with 11 additions and 7 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 111 KiB |
Loading…
Add table
Reference in a new issue