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

@ -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) }
}
}