Initial commit

This commit is contained in:
Teo
2025-11-26 16:16:42 +01:00
commit 7a9756e0e1
9 changed files with 396 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
import QtQuick
import Quickshell
import Quickshell.Hyprland
Text {
id: timeDisplay
property string currentTime: ""
text: currentTime
color: "#ffffff"
font.pixelSize: 14
font.family: "Inter, sans-serif"
//Update time every second
Timer {
interval: 1000
running: true
repeat: true
onTriggered: {
var now = new Date()
timeDisplay.currentTime = Qt.formatTime(now, "hh:mm:ss")
}
}
}