feat: basic quickshell setup

This commit is contained in:
2026-06-14 14:30:09 +02:00
parent d2e569114f
commit 940ee3e988
23 changed files with 477 additions and 0 deletions
@@ -0,0 +1,30 @@
pragma Singleton
import Quickshell
import Quickshell.Io
import QtQuick
Singleton {
property string time
property string date
Process {
id: dateProc
command: ["date", "+%a %e %b|%T"]
running: true
stdout: SplitParser {
onRead: data => {
date = data.split("|")[0];
time = data.split("|")[1];
}
}
}
Timer {
interval: 1000
running: true
repeat: true
onTriggered: dateProc.running = true
}
}