non important commit

This commit is contained in:
benstrb 2026-01-11 14:02:10 +01:00
parent eece229246
commit 7b7784db49
2 changed files with 21 additions and 50 deletions

View file

@ -9,41 +9,23 @@ window {
.works { .works {
background-color: rgba(30, 30, 30, 0.9); background-color: rgba(30, 30, 30, 0.9);
border-radius: 10px; border-radius: 10px;
padding: 15px; padding: 8px 12px;
} }
button { button {
font-size: 24px; font-size: 18px;
padding: 8px 12px; padding: 6px 10px;
border-radius: 8px; border-radius: 6px;
transition: all 0.2s ease; transition: all 0.2s ease;
min-width: 40px; min-width: 30px;
color: #888; color: #666;
// Unoccupied workspace
&.0 { &.0 {
color: #666; color: #444;
background-color: transparent;
}
// Occupied (class will be like "01", "02", etc)
&[class*="1"],
&[class*="2"],
&[class*="3"],
&[class*="4"],
&[class*="5"],
&[class*="6"],
&[class*="7"],
&[class*="8"],
&[class*="9"] {
&:not(.0) {
color: #fff;
background-color: rgba(255, 255, 255, 0.15);
}
} }
&:hover { &:hover {
background-color: rgba(255, 255, 255, 0.25); background-color: rgba(255, 255, 255, 0.2);
color: #fff; color: #fff;
} }
} }

View file

@ -24,25 +24,19 @@
) )
( (
defwindow workspaces defwindow workspaces
:monitor 0 :monitor 0
:geometry ( :geometry (
geometry :x "0%" geometry :x "0%"
:y "0%" :y "10px"
:width "40%" :width "auto"
:height "40%" :height "50px"
:anchor "center center" :anchor "top center"
) )
:stacking "fg"
:stacking "bg" :windowtype "dock"
:windowtype "dock" :wm-ignore false
:wm-ignore false (literal :content workspace)
(
box :orientation "horizontal"
:halign "center"
workspace
)
) )
( (
@ -52,8 +46,3 @@
`date +%H:%M:%S` `date +%H:%M:%S`
) )
(
defwidget workspaces []
(literal :content workspace)
)