add theme switcher

This commit is contained in:
lucy 2026-09-10 21:37:33 +02:00
commit d69ec48728
9 changed files with 126 additions and 68 deletions

View file

@ -3,19 +3,25 @@ import qs.widgets
import QtQuick
import Quickshell
import qs.modules.Services
import qs.modules.applets
import qs.settings
BarComponent {
implicitWidth: text.width
required property ShellScreen barScreen
StyledText {
id: text
anchors.centerIn: parent
text: "temp!!!"
}
MouseArea {
id: clickHandler
acceptedButtons: Qt.LeftButton
cursorShape: Qt.PointingHandCursor
anchors.fill: parent
onClicked: { WidgetTracker.toggle("colorschemes", parent.barScreen) }
id: clickHandler
acceptedButtons: Qt.LeftButton
cursorShape: Qt.PointingHandCursor
anchors.fill: parent
onClicked: {
Config.cfg.themeSwitcherVisible = true
}
}
ThemeSwitcher {}
}