41 lines
845 B
QML
41 lines
845 B
QML
import QtQuick
|
|
import Quickshell.Widgets
|
|
import qs.Services
|
|
import qs.Common
|
|
import Quickshell.Services.Notifications
|
|
|
|
Item {
|
|
property var monitor: ""
|
|
|
|
MarginWrapperManager {
|
|
rightMargin: Theme.gaps
|
|
leftMargin: Theme.gaps
|
|
}
|
|
|
|
Rectangle {
|
|
color: Theme.backgroudColor
|
|
implicitWidth: clockText.implicitWidth * 1.6
|
|
implicitHeight: Theme.heightGaps
|
|
radius: 25
|
|
|
|
Text {
|
|
id: clockText
|
|
|
|
anchors.centerIn: parent
|
|
text: "OPA!"
|
|
font.bold: true
|
|
font.pixelSize: Theme.pixelSize
|
|
font.family: Theme.fontFamily
|
|
color: Theme.textColor
|
|
}
|
|
MouseArea{
|
|
anchors.fill: parent
|
|
onClicked: {
|
|
console.log(Notifications.tracked)
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
}
|