quickshell/modules/bar/ColorPickerButton.qml

21 lines
445 B
QML

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