add functioning theme picker and overhaul theming system

This commit is contained in:
lucy 2026-09-10 23:33:19 +02:00
commit 64a269816d
680 changed files with 6166 additions and 5969 deletions

View file

@ -23,13 +23,13 @@ Variants {
margins.left: Config.cfg.bar.floating ? 10 : 0
margins.right: Config.cfg.bar.floating ? 10 : 0
Rectangle {
color: Colors.barBg
color: Colors.c.base00
radius: Config.cfg.bar.floating ? Config.cfg.appearance.rounding : 0
anchors.fill: parent
implicitHeight: parent.height
anchors.centerIn: parent
RowLayout {
anchors.leftMargin: 10
anchors.leftMargin: 4
anchors.left: parent.left
anchors.verticalCenter: parent.verticalCenter
Ws {
@ -47,45 +47,26 @@ Variants {
}
}
RowLayout {
anchors.rightMargin: 10
anchors.rightMargin: 4
anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter
Mpris {
id: mpris
}
StyledText {
text: "|"
visible: mpris.visible
}
Bat {
id: bat
}
StyledText {
text: "|"
visible: bat.visible
}
Tray {
id: tray
}
StyledText {
text: "|"
visible: tray.visible
}
WallPickerButton {
id: wpButton
barScreen: root.modelData
}
StyledText {
text: "|"
}
Pw {
id: pw
barScreen: root.modelData
}
StyledText {
text: "|"
}
Netstatus {
id: net
}