diff --git a/.config/quickshell/ii/modules/sidebarLeft/SidebarLeft.qml b/.config/quickshell/ii/modules/sidebarLeft/SidebarLeft.qml index 0aed7b75d..8d0a43a05 100644 --- a/.config/quickshell/ii/modules/sidebarLeft/SidebarLeft.qml +++ b/.config/quickshell/ii/modules/sidebarLeft/SidebarLeft.qml @@ -127,8 +127,12 @@ Scope { // Scope sourceComponent: FloatingWindow { id: detachedSidebarRoot - visible: GlobalStates.sidebarLeftOpen property var contentParent: detachedSidebarBackground + + visible: GlobalStates.sidebarLeftOpen + onVisibleChanged: { + if (!visible) GlobalStates.sidebarLeftOpen = false; + } Rectangle { id: detachedSidebarBackground