forked from Shinonome/dots-hyprland
bar resource usage indicator
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
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")
|
||||
property string date: Qt.formatDateTime(clock.date, "dddd, dd/MM")
|
||||
property string date: Qt.formatDateTime(clock.date, "dddd, dd/MM")
|
||||
|
||||
SystemClock {
|
||||
id: clock
|
||||
|
||||
Reference in New Issue
Block a user