File tree Expand file tree Collapse file tree 3 files changed +60
-0
lines changed Expand file tree Collapse file tree 3 files changed +60
-0
lines changed Original file line number Diff line number Diff line change 1+ # Activate Linux
2+
3+ A parody of the activate windows watermark on windows.
4+
5+ You can run the watermark with ` quickshell -p shell.qml ` .
6+
7+ ![ ] ( ./image.png )
Original file line number Diff line number Diff line change 1+ import QtQuick
2+ import QtQuick.Layouts
3+ import Quickshell
4+ import Quickshell.Wayland
5+
6+ ShellRoot {
7+ Variants {
8+ // Create the panel once on each monitor.
9+ variants: Quickshell .screens .map (screen => ({ screen }))
10+
11+ PanelWindow {
12+ id: w
13+
14+ anchors {
15+ right: true
16+ bottom: true
17+ }
18+
19+ margins {
20+ right: 50
21+ bottom: 50
22+ }
23+
24+ width: content .width
25+ height: content .height
26+
27+ color: " transparent"
28+
29+ // Give the window an empty click mask so all clicks pass through it.
30+ mask: Region {}
31+
32+ // Use the wlroots specific layer property to ensure it displays over
33+ // fullscreen windows.
34+ WlrLayershell .layer : Layer .Overlay
35+
36+ ColumnLayout {
37+ id: content
38+
39+ Text {
40+ text: " Activate Linux"
41+ color: " #50ffffff"
42+ font .pointSize : 22
43+ }
44+
45+ Text {
46+ text: " Go to Settings to activate Linux"
47+ color: " #50ffffff"
48+ font .pointSize : 14
49+ }
50+ }
51+ }
52+ }
53+ }
You can’t perform that action at this time.
0 commit comments