add primitive shit for theme switching
This commit is contained in:
parent
09932291d2
commit
143889683b
6 changed files with 111 additions and 20 deletions
21
modules/bar/ColorPickerButton.qml
Normal file
21
modules/bar/ColorPickerButton.qml
Normal 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) }
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue