diff --git a/activate_linux/README.md b/activate_linux/README.md new file mode 100644 index 0000000..1774aed --- /dev/null +++ b/activate_linux/README.md @@ -0,0 +1,7 @@ +# Activate Linux + +A parody of the activate windows watermark on windows. + +You can run the watermark with `quickshell -p shell.qml`. + +![](./image.png) diff --git a/activate_linux/image.png b/activate_linux/image.png new file mode 100644 index 0000000..cda73c3 Binary files /dev/null and b/activate_linux/image.png differ diff --git a/activate_linux/shell.qml b/activate_linux/shell.qml new file mode 100644 index 0000000..b025e06 --- /dev/null +++ b/activate_linux/shell.qml @@ -0,0 +1,53 @@ +import QtQuick +import QtQuick.Layouts +import Quickshell +import Quickshell.Wayland + +ShellRoot { + Variants { + // Create the panel once on each monitor. + variants: Quickshell.screens.map(screen => ({ screen })) + + PanelWindow { + id: w + + anchors { + right: true + bottom: true + } + + margins { + right: 50 + bottom: 50 + } + + width: content.width + height: 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: Layer.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 + } + } + } + } +}