fix bar layout

This commit is contained in:
Schrottkatze 2024-10-03 19:30:56 +02:00
parent f903d1b45e
commit f0b640eeed
No known key found for this signature in database
2 changed files with 42 additions and 35 deletions

View file

@ -15,18 +15,22 @@
(defwidget bottomBar []
(overlay
:class "bottomBar"
(centerbox
(box
:halign "start"
(workspaceWidget)
)
(box
:halign "center"
(traveldings)
)
(box
:halign "end"
(label :text "${iceData.speed}km/h")
(transform
:translate-y "1.5px"
(centerbox
(box
:halign "start"
(workspaceWidget)
)
(box
:halign "center"
(traveldings)
)
(box
:halign "end"
; (label :text "${iceData.speed}km/h")
(iceTacho)
)
)
)
(box

View file

@ -16,30 +16,33 @@
(defwidget topBar []
(overlay
:class "topBar"
(centerbox
(box
:halign "start"
:spacing 12
:space-evenly false
(label :text " ")
(cpu)
(sep)
(mem)
(sep)
(label :markup bat0)
(sep)
(label :markup bat1)
)
(box
:halign "center"
(systray
:icon-size 18
:spacing 3
(transform
:translate-y "-1.5px"
(centerbox
(box
:halign "start"
:spacing 12
:space-evenly false
(label :text " ")
(cpu)
(sep)
(mem)
(sep)
(label :markup bat0)
(sep)
(label :markup bat1)
)
(box
:halign "center"
(systray
:icon-size 18
:spacing 3
)
)
(box
:halign "end"
(time)
)
)
(box
:halign "end"
(time)
)
)
(box