pragma Singleton

import Quickshell
import Quickshell.Io
import QtQuick

Singleton {
    id: root
    readonly property string time: {
        // Qt.formatDateTime(clock.date, "ddd d MMM [hh:mm]")
        Qt.formatDateTime(clock.date, "hh:mm")
    }
    readonly property string date: {
        Qt.formatDateTime(clock.date, "d MMM")
        // Qt.formatDateTime(clock.date, "hh:mm")
    }

    SystemClock {
      id: clock
      precision: SystemClock.Minutes
    }
}
