empty bar

This commit is contained in:
end-4
2025-04-10 00:16:42 +02:00
parent 2c53fc767a
commit 2e466abf71
5 changed files with 191 additions and 0 deletions
@@ -0,0 +1,19 @@
import QtQuick
import Quickshell
import Quickshell.Io
// with this line our type becomes a singleton
pragma Singleton
// your singletons should always have Singleton as the type
Singleton {
property string time: Qt.formatDateTime(clock.date, "hh:mm")
// something like Wednesday, 09/04
property string date: Qt.formatDateTime(clock.date, "dddd, dd/MM")
SystemClock {
id: clock
precision: SystemClock.Minutes
}
}