add primitive shit for theme switching

This commit is contained in:
lucy 2026-09-09 18:48:35 +02:00
commit 143889683b
6 changed files with 111 additions and 20 deletions

View file

@ -42,6 +42,9 @@ Variants {
RowLayout {
anchors.centerIn: parent
Date {}
ColorPickerButton {
barScreen: root.modelData
}
}
RowLayout {
anchors.rightMargin: 10

View file

@ -0,0 +1,21 @@
import qs
import qs.widgets
import QtQuick
import Quickshell
import qs.modules.Services
BarComponent {
implicitWidth: text.width
required property ShellScreen barScreen
StyledText {
id: text
text: "temp!!!"
}
MouseArea {
id: clickHandler
acceptedButtons: Qt.LeftButton
cursorShape: Qt.PointingHandCursor
anchors.fill: parent
onClicked: { WidgetTracker.toggle("colorschemes", parent.barScreen) }
}
}