diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2025-09-01 14:05:25 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2025-09-01 14:05:25 +0200 |
commit | c9b4c6834e390f051e3137a6a45882ea8608ee9d (patch) | |
tree | 98229a1b688b09653fbd82e45a9471e1b033233d /accounts/gkleen@sif/shell/quickshell/Clock.qml | |
parent | 466ce70f96f8bdde32260f6951c5cbb62cfc02a7 (diff) | |
download | nixos-c9b4c6834e390f051e3137a6a45882ea8608ee9d.tar nixos-c9b4c6834e390f051e3137a6a45882ea8608ee9d.tar.gz nixos-c9b4c6834e390f051e3137a6a45882ea8608ee9d.tar.bz2 nixos-c9b4c6834e390f051e3137a6a45882ea8608ee9d.tar.xz nixos-c9b4c6834e390f051e3137a6a45882ea8608ee9d.zip |
...
Diffstat (limited to 'accounts/gkleen@sif/shell/quickshell/Clock.qml')
-rw-r--r-- | accounts/gkleen@sif/shell/quickshell/Clock.qml | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/accounts/gkleen@sif/shell/quickshell/Clock.qml b/accounts/gkleen@sif/shell/quickshell/Clock.qml index 58600adb..55fabd1c 100644 --- a/accounts/gkleen@sif/shell/quickshell/Clock.qml +++ b/accounts/gkleen@sif/shell/quickshell/Clock.qml | |||
@@ -11,7 +11,7 @@ Item { | |||
11 | height: parent.height | 11 | height: parent.height |
12 | anchors.verticalCenter: parent.verticalCenter | 12 | anchors.verticalCenter: parent.verticalCenter |
13 | 13 | ||
14 | MouseArea { | 14 | WrapperMouseArea { |
15 | id: clockMouseArea | 15 | id: clockMouseArea |
16 | 16 | ||
17 | anchors.fill: parent | 17 | anchors.fill: parent |
@@ -29,24 +29,24 @@ Item { | |||
29 | } | 29 | } |
30 | 30 | ||
31 | onWheel: event => scrollYear(event) | 31 | onWheel: event => scrollYear(event) |
32 | } | ||
33 | 32 | ||
34 | Text { | 33 | Text { |
35 | id: clock | 34 | id: clock |
36 | color: "white" | 35 | color: "white" |
37 | 36 | ||
38 | anchors.verticalCenter: parent.verticalCenter | 37 | anchors.verticalCenter: parent.verticalCenter |
39 | 38 | ||
40 | Custom.Chrono { | 39 | Custom.Chrono { |
41 | id: chrono | 40 | id: chrono |
42 | format: "W{0:%V-%u} {0:%F} {0:%H:%M:%S%Ez}" | 41 | format: "W{0:%V-%u} {0:%F} {0:%H:%M:%S%Ez}" |
43 | } | 42 | } |
44 | 43 | ||
45 | text: chrono.date | 44 | text: chrono.date |
46 | 45 | ||
47 | font.pointSize: 10 | 46 | font.pointSize: 10 |
48 | font.family: "Fira Sans" | 47 | font.family: "Fira Sans" |
49 | font.features: { "tnum": 1 } | 48 | font.features: { "tnum": 1 } |
49 | } | ||
50 | } | 50 | } |
51 | 51 | ||
52 | PopupWindow { | 52 | PopupWindow { |
@@ -250,4 +250,4 @@ Item { | |||
250 | } | 250 | } |
251 | } | 251 | } |
252 | } | 252 | } |
253 | } \ No newline at end of file | 253 | } |