-
Notifications
You must be signed in to change notification settings - Fork 5
/
001-notch-clock.patch
43 lines (42 loc) · 1.46 KB
/
001-notch-clock.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
--- StatusArea-old.qml 2020-08-13 21:28:56.000000000 +0100
+++ StatusArea.qml 2020-08-13 22:00:54.387486006 +0100
@@ -111,17 +111,11 @@
Component {
id: timeText
ClockItem {
- id: clock
width: Math.min(implicitWidth, centralArea.width)
updatesEnabled: recentlyOnDisplay
color: Theme.primaryColor
font { pixelSize: Theme.fontSizeMedium; family: Theme.fontFamilyHeading }
-
- Connections {
- target: Lipstick.compositor
- onDisplayAboutToBeOn: clock.forceUpdate()
- }
}
}
Component {
@@ -142,6 +136,22 @@
right: parent.right
rightMargin: Theme.paddingMedium
}
+
+ ClockItem {
+ id: clock
+
+ width: Math.min(implicitWidth, centralArea.width)
+ y: (parent.height - height)/2
+ updatesEnabled: recentlyOnDisplay
+ color: Theme.primaryColor
+ font { pixelSize: Theme.fontSizeMedium; family: Theme.fontFamilyHeading }
+
+ Connections {
+ target: Lipstick.compositor
+ onDisplayAboutToBeOn: clock.forceUpdate()
+ }
+ }
+
VpnStatusIndicator {
id: vpnStatusIndicator
anchors.verticalCenter: parent.verticalCenter