mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-11-05 07:06:24 +01:00
fix bar layout
This commit is contained in:
parent
f903d1b45e
commit
f0b640eeed
|
@ -15,18 +15,22 @@
|
||||||
(defwidget bottomBar []
|
(defwidget bottomBar []
|
||||||
(overlay
|
(overlay
|
||||||
:class "bottomBar"
|
:class "bottomBar"
|
||||||
(centerbox
|
(transform
|
||||||
(box
|
:translate-y "1.5px"
|
||||||
:halign "start"
|
(centerbox
|
||||||
(workspaceWidget)
|
(box
|
||||||
)
|
:halign "start"
|
||||||
(box
|
(workspaceWidget)
|
||||||
:halign "center"
|
)
|
||||||
(traveldings)
|
(box
|
||||||
)
|
:halign "center"
|
||||||
(box
|
(traveldings)
|
||||||
:halign "end"
|
)
|
||||||
(label :text "${iceData.speed}km/h")
|
(box
|
||||||
|
:halign "end"
|
||||||
|
; (label :text "${iceData.speed}km/h")
|
||||||
|
(iceTacho)
|
||||||
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(box
|
(box
|
||||||
|
|
|
@ -16,30 +16,33 @@
|
||||||
(defwidget topBar []
|
(defwidget topBar []
|
||||||
(overlay
|
(overlay
|
||||||
:class "topBar"
|
:class "topBar"
|
||||||
(centerbox
|
(transform
|
||||||
(box
|
:translate-y "-1.5px"
|
||||||
:halign "start"
|
(centerbox
|
||||||
:spacing 12
|
(box
|
||||||
:space-evenly false
|
:halign "start"
|
||||||
(label :text " ")
|
:spacing 12
|
||||||
(cpu)
|
:space-evenly false
|
||||||
(sep)
|
(label :text " ")
|
||||||
(mem)
|
(cpu)
|
||||||
(sep)
|
(sep)
|
||||||
(label :markup bat0)
|
(mem)
|
||||||
(sep)
|
(sep)
|
||||||
(label :markup bat1)
|
(label :markup bat0)
|
||||||
)
|
(sep)
|
||||||
(box
|
(label :markup bat1)
|
||||||
:halign "center"
|
)
|
||||||
(systray
|
(box
|
||||||
:icon-size 18
|
:halign "center"
|
||||||
:spacing 3
|
(systray
|
||||||
|
:icon-size 18
|
||||||
|
:spacing 3
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(box
|
||||||
|
:halign "end"
|
||||||
|
(time)
|
||||||
)
|
)
|
||||||
)
|
|
||||||
(box
|
|
||||||
:halign "end"
|
|
||||||
(time)
|
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(box
|
(box
|
||||||
|
|
Loading…
Reference in a new issue