Feature (Overlay): MangoHud Fps Limiter widget

This commit is contained in:
reakjra
2025-11-06 14:23:13 +01:00
parent ad9f25c346
commit 60144ca3de
7 changed files with 123 additions and 1 deletions
@@ -25,7 +25,7 @@ Scope {
exclusionMode: ExclusionMode.Ignore
WlrLayershell.namespace: "quickshell:overlay"
WlrLayershell.layer: WlrLayer.Overlay
WlrLayershell.keyboardFocus: WlrKeyboardFocus.OnDemand
WlrLayershell.keyboardFocus: GlobalStates.overlayOpen ? WlrKeyboardFocus.Exclusive : WlrKeyboardFocus.None
visible: true
color: "transparent"
@@ -43,6 +43,16 @@ Scope {
right: true
}
HyprlandFocusGrab {
id: grab
windows: [overlayWindow]
active: GlobalStates.overlayOpen
onCleared: () => {
if (!active)
GlobalStates.overlayOpen = false;
}
}
OverlayContent {
id: overlayContent
anchors.fill: parent