pragma Singleton import Quickshell import Quickshell.Io import QtQuick Singleton { property var date: new Date() property string time: date.toLocaleString(Qt.locale()) Timer { interval: 1000 running: true repeat: true onTriggered: date = new Date() } }