beginning of my own colorscheme

This commit is contained in:
Charlie Root 2024-08-01 02:23:54 +02:00
commit 62b3b0f442
5 changed files with 64 additions and 49 deletions

View file

@ -3,47 +3,48 @@ import Quickshell.Io // For Processes
import QtQuick // For Text
Scope {
property string time;
id: root
property string time;
Variants {
model: Quickshell.screens
Variants {
model: Quickshell.screens
PanelWindow {
property var modelData
screen: modelData
PanelWindow {
property var modelData
screen: modelData
anchors {
top: true
left: true
right: true
}
anchors {
top: true
left: true
right: true
}
height: 30
height: 30
Text {
anchors.centerIn: parent
Text {
anchors.centerIn: parent
// now just time instead of root.time
text: time
}
// now just time instead of root.time
text: time
}
}
}
}
Process {
id: dateProc
command: ["date"]
running: true
Process {
id: dateProc
command: ["date"]
running: true
stdout: SplitParser {
// now just time instead of root.time
onRead: data => time = data
stdout: SplitParser {
// now just time instead of root.time
onRead: data => time = data
}
}
}
Timer {
interval: 1000
running: true
repeat: true
onTriggered: dateProc.running = true
}
Timer {
interval: 1000
running: true
repeat: true
onTriggered: dateProc.running = true
}
}