Files
2026-03-02 23:03:39 +02:00

106 lines
2.9 KiB
QML

import QtQuick
import Quickshell
import Quickshell.Widgets
import Quickshell.Services.Mpris
import Quickshell.Bluetooth
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
}
Text {
text: Quickshell.iconPath("67", "steam")
color: "#ff00ff"
font.family: "Determination Mono"
font.pixelSize: 32
}
Repeater {
model: Bluetooth.devices
Item {
y: 16 * index
Text {
text: "bt" + index + modelData.name
color: "#04047C"
font.family: "Determination Mono"
font.pixelSize: 16
y: 64 + 128 + 1
x: 64 + 1 + 512
}
Text {
text: "bt" + index + modelData.name
color: "#ff0000"
font.family: "Determination Mono"
font.pixelSize: 16
y: 64 + 128
x: 64 + 512
}
}
}
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, 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, undefined, "\t")
color: "#ff0000"
font.family: "Determination Mono"
font.pixelSize: 16
y: 64 + 128
x: 64
}
}
}
}