From a6fe414309c186f22d583c8d131976532258f11f Mon Sep 17 00:00:00 2001 From: pika Date: Sun, 8 Jun 2025 09:39:33 +0200 Subject: [PATCH] addet activate-linux --- activate-linux.qml | 56 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 activate-linux.qml diff --git a/activate-linux.qml b/activate-linux.qml new file mode 100644 index 0000000..d5e442e --- /dev/null +++ b/activate-linux.qml @@ -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 + } + } + } + } +}