From bccb51622368782326cef55c0146633528681cb2 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sat, 11 Oct 2025 00:37:50 +0200 Subject: [PATCH] screen corner interaction: fix not working for vertical bar --- .../ii/modules/screenCorners/ScreenCorners.qml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.config/quickshell/ii/modules/screenCorners/ScreenCorners.qml b/.config/quickshell/ii/modules/screenCorners/ScreenCorners.qml index 981ba556b..eb5768875 100644 --- a/.config/quickshell/ii/modules/screenCorners/ScreenCorners.qml +++ b/.config/quickshell/ii/modules/screenCorners/ScreenCorners.qml @@ -29,7 +29,7 @@ Scope { exclusionMode: ExclusionMode.Ignore mask: Region { - item: (sidebarCornerOpenInteractionLoader.active && Config.options.sidebar.cornerOpen.bottom != Config.options.bar.bottom) ? sidebarCornerOpenInteractionLoader : null + item: sidebarCornerOpenInteractionLoader.active ? sidebarCornerOpenInteractionLoader : null } WlrLayershell.namespace: "quickshell:screenCorners" WlrLayershell.layer: WlrLayer.Overlay @@ -62,7 +62,12 @@ Scope { Loader { id: sidebarCornerOpenInteractionLoader - active: (!cornerPanelWindow.fullscreen && Config.options.sidebar.cornerOpen.enable && (Config.options.sidebar.cornerOpen.bottom == cornerWidget.isBottom)) + active: { + if (!Config.options.sidebar.cornerOpen.enable) return false; + if (!Config.options.bar.vertical && Config.options.sidebar.cornerOpen.bottom == Config.options.bar.bottom) return false; + if (cornerPanelWindow.fullscreen) return false; + return (Config.options.sidebar.cornerOpen.bottom == cornerWidget.isBottom); + } anchors { top: (cornerWidget.isTopLeft || cornerWidget.isTopRight) ? parent.top : undefined bottom: (cornerWidget.isBottomLeft || cornerWidget.isBottomRight) ? parent.bottom : undefined