Flake update. Quickshell on Desktop

This commit is contained in:
2025-07-22 16:54:00 +01:00
parent 7ca1e956e1
commit 5f3e6ed438
19 changed files with 746 additions and 101 deletions
+29
View File
@@ -0,0 +1,29 @@
import Quickshell
import Quickshell.Io
import QtQuick
Scope {
Time { id: timeSource }
Variants {
model: Quickshell.screens;
PanelWindow {
property var modelData
screen: modelData
anchors {
top: true
left: true
right: true
}
implicitHeight: 24
Clock {
anchors.centerIn: parent
time: timeSource.time
}
}
}
}
+9
View File
@@ -0,0 +1,9 @@
import QtQuick
Text {
required property string time
font.family: "KelmscottMono"
font.pointSize: 14
text: time
}
+25
View File
@@ -0,0 +1,25 @@
import Quickshell
import Quickshell.Io
import QtQuick
Scope {
id: root
property string time
Process {
id: dateProc
command: [ "date", "+%T | %A, %b %d | %Y" ]
running: true
stdout: StdioCollector {
onStreamFinished: root.time = this.text
}
}
Timer {
interval: 1000
running: true
repeat: true
onTriggered: dateProc.running = true
}
}
+5
View File
@@ -0,0 +1,5 @@
import Quickshell
Scope {
Bar {}
}