26 lines
570 B
QML
26 lines
570 B
QML
import qs
|
|
import qs.widgets
|
|
import QtQuick
|
|
import Quickshell
|
|
import qs.modules.Services
|
|
import qs.modules.applets
|
|
import qs.settings
|
|
|
|
BarComponent {
|
|
implicitWidth: implicitHeight
|
|
required property ShellScreen barScreen
|
|
StyledIcon {
|
|
id: text
|
|
iconName: "games-config-theme"
|
|
anchors.centerIn: parent
|
|
}
|
|
MouseArea {
|
|
id: clickHandler
|
|
acceptedButtons: Qt.LeftButton
|
|
cursorShape: Qt.PointingHandCursor
|
|
anchors.fill: parent
|
|
onClicked: {
|
|
WidgetTracker.toggle("colors", parent.barScreen)
|
|
}
|
|
}
|
|
}
|