import QtQuick import Quickshell import "." as M import "../services" as S import "../applets" as C M.BarModule { id: root spacing: S.Theme.moduleSpacing tooltip: Qt.formatDateTime(clock.date, "dddd, dd. MMMM yyyy") SystemClock { id: clock precision: SystemClock.Seconds } M.BarLabel { font.pixelSize: S.Theme.fontSize + 1 label: Qt.formatDateTime(clock.date, "ddd, dd. MMM HH:mm") minText: "Wed, 00. Sep 00:00" anchors.verticalCenter: parent.verticalCenter } M.HoverPanel { id: hoverPanel showPanel: root._showPanel screen: QsWindow.window?.screen ?? null anchorItem: root accentColor: root.accentColor panelNamespace: "nova-clock" panelTitle: Qt.formatTime(clock.date, "HH:mm:ss") contentWidth: 220 onDismissed: root.dismissPanel() C.ClockApplet { width: hoverPanel.contentWidth accentColor: root.accentColor currentDate: clock.date } } }