summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-08-15 16:56:12 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-08-15 16:56:59 +0800
commitfa82b6e8cad81700aa798ec8a1a88458419b75a9 (patch)
tree3984aff5c38d29c0c9c369afbf7bbb9125864dc4
parentec706f9ab4630d35f42b604a4c222bfd19a5c328 (diff)
fix: use Overlay for launcher
-rw-r--r--components/IWindow.qml2
-rw-r--r--launcher/ILauncher.qml3
2 files changed, 5 insertions, 0 deletions
diff --git a/components/IWindow.qml b/components/IWindow.qml
index 2276c8d..b048282 100644
--- a/components/IWindow.qml
+++ b/components/IWindow.qml
@@ -5,8 +5,10 @@ import QtQuick
PanelWindow {
required property string name
property ShellScreen modelData
+ property var layer: WlrLayer.Top
screen: modelData
WlrLayershell.namespace: `${name}`
+ WlrLayershell.layer: layer
color: "transparent"
}
diff --git a/launcher/ILauncher.qml b/launcher/ILauncher.qml
index 8793b97..afb9250 100644
--- a/launcher/ILauncher.qml
+++ b/launcher/ILauncher.qml
@@ -1,5 +1,6 @@
import Quickshell
import Quickshell.Hyprland
+import Quickshell.Wayland
import QtQuick.Controls
import QtQuick
@@ -12,6 +13,8 @@ IWindow {
// TODO: optional only display on focused screen
focusable: true
+ layer: WlrLayer.Overlay
+
anchors {
top: false
bottom: false