New backup 2025-03-18 15:15:02

This commit is contained in:
Penelope Gwen 2025-03-18 15:15:02 -07:00
parent 39eb870b2c
commit 065315e475
8 changed files with 40 additions and 26 deletions

View file

@ -156,14 +156,20 @@ tooltip{
border: 2px solid rgba($color0,0.5); border: 2px solid rgba($color0,0.5);
border-radius: 8px; border-radius: 8px;
} }
.home {
.rat { box {
border-radius: 8px; border-radius: 8px;
background-size: cover; }
background-repeat: no-repeat; .rat {
} background-size: cover;
.weather { background-repeat: no-repeat;
border-radius: 8px; }
background-color: rgba($color0,0.5); .weather {
padding: 10px 0px; background-color: rgba($color0,0.5);
padding: 10px 0px;
border: 2px solid rgba($color0,0.5);
}
.shortcuts {
background-color: rgba($color0,0.5);
}
} }

View file

@ -11,9 +11,9 @@
:reserve (struts :side "top" :distance "4%") :reserve (struts :side "top" :distance "4%")
(bar)) (bar))
(include "modules/widgets.yuck") (include "modules/home.yuck")
(defwindow widgets (defwindow home
:windowtype "normal" :windowtype "normal"
:exclusive false :exclusive false
:geometry (geometry :x "10px" :geometry (geometry :x "10px"
@ -22,4 +22,4 @@
:height "10px" :height "10px"
:anchor "top left") :anchor "top left")
:stacking "bottom" :stacking "bottom"
(widgets)) (home))

View file

@ -0,0 +1,13 @@
(defwidget home []
(box :class "home"
:orientation "v"
:spacing 10
:width 300
:space-evenly false
(rat)
(weather :json weather_status)
(shortcuts)))
(include "modules/home/rat.yuck")
(include "modules/home/weather.yuck")
(include "modules/home/shortcuts.yuck")

View file

@ -0,0 +1,7 @@
(defwidget shortcuts []
(box
:class "shortcuts"
:width 300
:height 200
(button
"test")))

View file

@ -1,12 +0,0 @@
(defwidget widgets []
(box :class "widgets"
:orientation "v"
:spacing 10
:width 300
:space-evenly false
(rat)
(weather :json weather_status)))
;widgets
(include "modules/widgets/rat.yuck")
(include "modules/widgets/weather.yuck")

View file

@ -5,7 +5,7 @@ output eDP-1 {
position 0 0 position 0 0
} }
exec_always 'sleep 1;eww open --screen "0x0A31" bar' exec_always 'sleep 1;eww open --screen "0x0A31" bar'
exec_always 'sleep 1;eww open --screen "0x0A31" widgets' exec_always 'sleep 1;eww open --screen "0x0A31" home'
output 'Dell Inc. DELL P1913 PVGRC3ALA4YU' { output 'Dell Inc. DELL P1913 PVGRC3ALA4YU' {
#left workstation monitor #left workstation monitor