From fa82b6e8cad81700aa798ec8a1a88458419b75a9 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Fri, 15 Aug 2025 16:56:12 +0800 Subject: fix: use Overlay for launcher --- components/IWindow.qml | 2 ++ launcher/ILauncher.qml | 3 +++ 2 files changed, 5 insertions(+) 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 -- cgit v1.2.3