Files
DeltaruneQuickshell/Apps/QsDebugger/shell.qml
2026-01-30 13:40:57 +02:00

75 lines
2.1 KiB
QML

import QtQuick
import Quickshell
import Quickshell.Widgets
import Quickshell.Services.Mpris
FloatingWindow {
title: "Quickshell debugger"
color: "#000000"
visible: true
minimumSize: Qt.size(824, 497)
maximumSize: Qt.size(824, 497)
Text {
text: "Yall lets hype up DELTARUNE TOMMOROW!!!! Btw this window is pure quickshell + qml"
color: "#ffffff"
font.family: "8bitoperator JVE"
font.pixelSize: 16
anchors.horizontalCenter: parent.horizontalCenter
y: 470
}
Text {
text: "Quickshell debugger"
color: "#ffffff"
font.family: "8bitoperator JVE"
font.pixelSize: 32
anchors.horizontalCenter: parent.horizontalCenter
y: 15
}
Image {
source: "/home/ralsei/Projects/Krisifier/icons/com.atproto.sync.jpg"
x: 10
y: 10
width: 128
height: 128
}
Text {
text: "Heaven knows\nthe story what we're born\nfrom our hearts\n\nOf the shadows cutting deep\nand the heroes that save us\n\nHeaven knows\nThe beauty of the soul \nand we weep\n\nTo the majesty and\npray we not forget\nthe tale of DELTARUNE"
color: "#ffffff"
font.family: "Determination Mono"
font.pixelSize: 32
}
Repeater {
model: Mpris.players
Item {
IconImage {
source: modelData.trackArtUrl
x: 64 + 128
y: 16 + 128
implicitSize: 128
asynchronous: true
}
Text {
text: "mpris" + index + JSON.stringify(modelData.metadata, undefined, "\t")
color: "#04047C"
font.family: "Determination Mono"
font.pixelSize: 16
y: 64 + 128 + 1
x: 64 + 1
}
Text {
text: "mpris" + index + JSON.stringify(modelData.metadata, undefined, "\t")
color: "#ff0000"
font.family: "Determination Mono"
font.pixelSize: 16
y: 64 + 128
x: 64
}
}
}
}