forked from Shinonome/dots-hyprland
feat: add sticky overlay functionality
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user