ported some quickshell stuff from rivendell-hyprdots

This commit is contained in:
Tomas Rivera
2026-03-10 16:22:35 +01:00
parent 4b442dd121
commit b9e3f35abe
80 changed files with 4462 additions and 9 deletions
+59
View File
@@ -0,0 +1,59 @@
import Quickshell
import Quickshell.Io
import QtQuick
import QtQuick.Effects
import "./"
PanelWindow {
property var modelData
screen: modelData
exclusionMode: ExclusionMode.Ignore
aboveWindows: false
color: "transparent"
anchors {
top: true
left: true
bottom: true
right: true
}
Image {
id: bg
anchors.fill: parent
fillMode: Image.PreserveAspectCrop
source: `./assets/${Globals.isDarkTheme ? "darkbg" : "bg"}.png`
smooth: false
}
MultiEffect {
source: bg
anchors.fill: bg
blurEnabled: false
blurMax: 24
blur: 1.0
}
Text {
id: timetxt
x: 900
y: 150
font.family: "BigBlueTermPlusNerdFont"
font.pointSize: 100
font.bold: true
color: Globals.isDarkTheme ? "#9292B6" : "#3B2640"
Process {
id: dateProc
command: ["date", "+%H %M"]
running: true
stdout: SplitParser {
onRead: data => timetxt.text = data
}
}
Timer {
interval: 1000
running: true
repeat: true
onTriggered: dateProc.running = true
}
}
}