addet activate-linux

This commit is contained in:
pika 2025-06-08 09:39:33 +02:00
parent f55b89cce1
commit a6fe414309

56
activate-linux.qml Normal file
View file

@ -0,0 +1,56 @@
import QtQuick
import QtQuick.Layouts
import Quickshell
import Quickshell.Wayland
ShellRoot {
Variants {
// Create the panel once on each monitor.
model: Quickshell.screens
PanelWindow {
id: w
property var modelData
screen: modelData
anchors {
right: true
bottom: true
}
margins {
right: 50
bottom: 50
}
implicitWidth: content.width
implicitHeight: content.height
color: "transparent"
// Give the window an empty click mask so all clicks pass through it.
mask: Region {}
// Use the wlroots specific layer property to ensure it displays over
// fullscreen windows.
WlrLayershell.layer: WlrLayer.Overlay
ColumnLayout {
id: content
Text {
text: "Activate Linux"
color: "#50ffffff"
font.pointSize: 22
}
Text {
text: "Go to Settings to activate Linux"
color: "#50ffffff"
font.pointSize: 14
}
}
}
}
}