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;
|
margin: 0px 10px;
|
||||||
}
|
}
|
||||||
.leftgroup {
|
.leftgroup {
|
||||||
margin-left: 10px;
|
margin-left: 5px;
|
||||||
}
|
}
|
||||||
.rightgroup {
|
.rightgroup {
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
|
@ -109,6 +109,7 @@ button.active {
|
||||||
border-radius:8px;
|
border-radius:8px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.rat {
|
.rat {
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
|
@ -116,5 +117,5 @@ button.active {
|
||||||
}
|
}
|
||||||
.weather {
|
.weather {
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
background-color: ${color7};
|
background-color: rgba($color7,0.5);
|
||||||
}
|
}
|
||||||
|
|
|
@ -352,9 +352,9 @@
|
||||||
:orientation "v"
|
:orientation "v"
|
||||||
:spacing 25
|
:spacing 25
|
||||||
:width 300
|
:width 300
|
||||||
:space-evenly true
|
:space-evenly false
|
||||||
(rat)
|
(rat)
|
||||||
(weather)))
|
(weather :json weather_status)))
|
||||||
|
|
||||||
(defpoll rat_image :interval "60s"
|
(defpoll rat_image :interval "60s"
|
||||||
'scripts/randomrat')
|
'scripts/randomrat')
|
||||||
|
@ -365,14 +365,17 @@
|
||||||
:orientation "h"
|
:orientation "h"
|
||||||
:width 300
|
:width 300
|
||||||
:height 300
|
:height 300
|
||||||
:space-evenly true
|
|
||||||
:style "background-image: url('${rat_image}');"))
|
:style "background-image: url('${rat_image}');"))
|
||||||
|
|
||||||
(defwidget weather []
|
(defpoll weather_status :interval "600s"
|
||||||
|
'curl wttr.in/Eugene?format=j1')
|
||||||
|
(defwidget weather [json]
|
||||||
(box
|
(box
|
||||||
:class "weather"
|
:class "weather"
|
||||||
|
:orientation "h"
|
||||||
:width 300
|
:width 300
|
||||||
:height 200))
|
:height 200
|
||||||
|
"${json.current_condition[0].FeelsLikeF}°F"))
|
||||||
|
|
||||||
(defwindow widgets
|
(defwindow widgets
|
||||||
:windowtype "normal"
|
: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