New backup 2025-03-04 20:00:02

This commit is contained in:
Penelope Gwen 2025-03-04 20:00:02 -08:00
parent 0b752e14d2
commit 177a90a89a
2 changed files with 10 additions and 4 deletions

View file

@ -109,3 +109,6 @@ button.active {
border-radius:8px; border-radius:8px;
} }
} }
.rat {
border-radius: 8px;
}

View file

@ -347,13 +347,16 @@
:reserve (struts :side "top" :distance "4%") :reserve (struts :side "top" :distance "4%")
(bar)) (bar))
(defpoll rat_image :interval "5s" ;(defpoll rat_image :interval "5s"
'scripts/randomrat') ; 'scripts/randomrat')
(defvar rat_image "/home/penelope/Pictures/Phone/Albums/Rattos/20211109_042550_IMG_9873.JPG")
(defwidget rat [] (defwidget rat []
(box (box
:orientation "h"
:space-evenly true
(image :class "rat" (image :class "rat"
:path {rat_image} :path {rat_image}
:image-width: 20 :image-width 100
:preserve-aspect-ratio false))) :preserve-aspect-ratio false)))
(defwindow widgets (defwindow widgets
@ -361,7 +364,7 @@
:exclusive false :exclusive false
:geometry (geometry :x "10%" :geometry (geometry :x "10%"
:y "10%" :y "10%"
:width "50px" :width "20px"
:height "50px" :height "50px"
:anchor "top center") :anchor "top center")
:stacking "bg" :stacking "bg"