summaryrefslogtreecommitdiff
path: root/raveos-theme/hyprland/theme-data/DankMaterialShell/quickshell/Modules/DankDash/Overview/ClockCard.qml
diff options
context:
space:
mode:
authorAlexanderCurl <alexc@alexc.hu>2026-04-18 17:46:06 +0100
committerAlexanderCurl <alexc@alexc.hu>2026-04-18 17:46:06 +0100
commit70ca3fef77ee8bdc6e3ac28589a6fa08c024cc69 (patch)
treeab1123d4067c1b086dd6faa7ee4ea643236b565a /raveos-theme/hyprland/theme-data/DankMaterialShell/quickshell/Modules/DankDash/Overview/ClockCard.qml
parent5d94c0a7d44a2255b81815a52a7056a94a39842d (diff)
downloadRaveOS-PKGBUILD-70ca3fef77ee8bdc6e3ac28589a6fa08c024cc69.tar.gz
RaveOS-PKGBUILD-70ca3fef77ee8bdc6e3ac28589a6fa08c024cc69.zip
Replaced file structures for themes in the correct format
Diffstat (limited to 'raveos-theme/hyprland/theme-data/DankMaterialShell/quickshell/Modules/DankDash/Overview/ClockCard.qml')
-rw-r--r--raveos-theme/hyprland/theme-data/DankMaterialShell/quickshell/Modules/DankDash/Overview/ClockCard.qml113
1 files changed, 0 insertions, 113 deletions
diff --git a/raveos-theme/hyprland/theme-data/DankMaterialShell/quickshell/Modules/DankDash/Overview/ClockCard.qml b/raveos-theme/hyprland/theme-data/DankMaterialShell/quickshell/Modules/DankDash/Overview/ClockCard.qml
deleted file mode 100644
index 5f597c3..0000000
--- a/raveos-theme/hyprland/theme-data/DankMaterialShell/quickshell/Modules/DankDash/Overview/ClockCard.qml
+++ /dev/null
@@ -1,113 +0,0 @@
-import QtQuick
-import QtQuick.Effects
-import Quickshell
-import qs.Common
-import qs.Widgets
-
-Card {
- id: root
-
- Column {
- anchors.centerIn: parent
- spacing: 0
-
- Column {
- spacing: -8
- anchors.horizontalCenter: parent.horizontalCenter
-
- Row {
- spacing: 0
- anchors.horizontalCenter: parent.horizontalCenter
-
- StyledText {
- text: {
- if (SettingsData.use24HourClock) {
- return String(systemClock?.date?.getHours()).padStart(2, '0').charAt(0)
- } else {
- const hours = systemClock?.date?.getHours()
- const display = hours === 0 ? 12 : hours > 12 ? hours - 12 : hours
- return String(display).padStart(2, '0').charAt(0)
- }
- }
- font.pixelSize: 48
- color: Theme.primary
- font.weight: Font.Medium
- width: 28
- horizontalAlignment: Text.AlignHCenter
- }
-
- StyledText {
- text: {
- if (SettingsData.use24HourClock) {
- return String(systemClock?.date?.getHours()).padStart(2, '0').charAt(1)
- } else {
- const hours = systemClock?.date?.getHours()
- const display = hours === 0 ? 12 : hours > 12 ? hours - 12 : hours
- return String(display).padStart(2, '0').charAt(1)
- }
- }
- font.pixelSize: 48
- color: Theme.primary
- font.weight: Font.Medium
- width: 28
- horizontalAlignment: Text.AlignHCenter
- }
- }
-
- Row {
- spacing: 0
- anchors.horizontalCenter: parent.horizontalCenter
-
- StyledText {
- text: String(systemClock?.date?.getMinutes()).padStart(2, '0').charAt(0)
- font.pixelSize: 48
- color: Theme.primary
- font.weight: Font.Medium
- width: 28
- horizontalAlignment: Text.AlignHCenter
- }
-
- StyledText {
- text: String(systemClock?.date?.getMinutes()).padStart(2, '0').charAt(1)
- font.pixelSize: 48
- color: Theme.primary
- font.weight: Font.Medium
- width: 28
- horizontalAlignment: Text.AlignHCenter
- }
- }
- }
-
- Row {
- visible: SettingsData.showSeconds
- spacing: 0
- anchors.horizontalCenter: parent.horizontalCenter
-
- StyledText {
- text: String(systemClock?.date?.getSeconds()).padStart(2, '0')
- font.pixelSize: 24
- color: Qt.rgba(Theme.primary.r, Theme.primary.g, Theme.primary.b, 0.7)
- font.weight: Font.Medium
- horizontalAlignment: Text.AlignHCenter
- }
- }
-
- Item {
- width: 1
- height: Theme.spacingXS
- anchors.horizontalCenter: parent.horizontalCenter
- }
-
- StyledText {
- text: systemClock?.date?.toLocaleDateString(I18n.locale(), "MMM dd")
- font.pixelSize: Theme.fontSizeSmall
- color: Qt.rgba(Theme.surfaceText.r, Theme.surfaceText.g, Theme.surfaceText.b, 0.7)
- anchors.horizontalCenter: parent.horizontalCenter
- }
- }
-
- SystemClock {
- id: systemClock
- precision: SettingsData.showSeconds ? SystemClock.Seconds : SystemClock.Minutes
- }
-}