feat: add sticky overlay functionality

This commit is contained in:
marepallisanthosh999333
2025-11-08 20:29:14 +05:30
parent 769ed3bf71
commit 549a43ac7f
8 changed files with 417 additions and 3 deletions
@@ -25,7 +25,10 @@ Scope {
exclusionMode: ExclusionMode.Ignore
WlrLayershell.namespace: "quickshell:overlay"
WlrLayershell.layer: WlrLayer.Overlay
WlrLayershell.keyboardFocus: GlobalStates.overlayOpen ? WlrKeyboardFocus.Exclusive : WlrKeyboardFocus.None
// CUSTOM: Stickypad keyboard focus fix - START
// Use OnDemand for pinned widgets to allow focus switching with mouse clicks
WlrLayershell.keyboardFocus: GlobalStates.overlayOpen ? WlrKeyboardFocus.Exclusive : (OverlayContext.clickableWidgets.length > 0 ? WlrKeyboardFocus.OnDemand : WlrKeyboardFocus.None)
// CUSTOM: Stickypad keyboard focus fix - END
visible: true
color: "transparent"