34 lines
667 B
QML
34 lines
667 B
QML
import QtQuick
|
|
import Quickshell.Widgets
|
|
import qs.Services
|
|
import qs.Common
|
|
|
|
Item {
|
|
property var monitor: ""
|
|
|
|
MarginWrapperManager {
|
|
rightMargin: Theme.gaps
|
|
leftMargin: Theme.gaps
|
|
}
|
|
|
|
Rectangle {
|
|
color: Theme.backgroudColor
|
|
implicitWidth: clockText.implicitWidth * 1.6
|
|
implicitHeight: Theme.heightGaps //root.implicitHeight*0.8
|
|
radius: 25
|
|
|
|
Text {
|
|
id: clockText
|
|
|
|
anchors.centerIn: parent
|
|
text: Time.time
|
|
font.bold: true
|
|
font.pixelSize: 14
|
|
font.family: Theme.fontFamily
|
|
color: Theme.textColor
|
|
}
|
|
|
|
}
|
|
|
|
}
|