1
0
Fork 0
quickshell-examples/activate_linux/shell.qml

57 lines
918 B
QML
Raw Permalink Normal View History

2024-03-10 11:36:29 +00:00
import QtQuick
import QtQuick.Layouts
import Quickshell
import Quickshell.Wayland
ShellRoot {
Variants {
// Create the panel once on each monitor.
model: Quickshell.screens
2024-03-10 11:36:29 +00:00
PanelWindow {
id: w
property var modelData
screen: modelData
2024-03-10 11:36:29 +00:00
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: WlrLayer.Overlay
2024-03-10 11:36:29 +00:00
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
}
}
}
}
}