more unfinished changes, process tab for dashboard
This commit is contained in:
+16
-1
@@ -145,8 +145,23 @@ CustomWindow {
|
||||
HyprlandFocusGrab {
|
||||
id: focusGrab
|
||||
|
||||
active: root.screenState.dock || root.screenState.resources || root.screenState.launcher || root.screenState.sidebar || (!Config.dashboard.showOnHover && root.screenState.dashboard) || root.screenState.settings || root.screenState.clipboard || (panels.popouts.hasCurrent && panels.popouts.currentName.startsWith("traymenu") && (!Config.bar.tray.showOnHover || (panels.popouts.current as StackView)?.depth > 1))
|
||||
windows: [root]
|
||||
active: {
|
||||
const s = root.screenState;
|
||||
const c = Config;
|
||||
|
||||
if ((s.launcher && c.launcher.enabled) || (s.sidebar && c.sidebar.enabled) || (s.resources && c.dashboard.performance.enabled) || (s.clipboard && c.clipboard.enabled))
|
||||
return true;
|
||||
if (s.dashboard && !c.dashboard.showOnHover && c.dashboard.enabled)
|
||||
return true;
|
||||
if (!c.dock.hoverToReveal && s.dock && c.dock.enable)
|
||||
return true;
|
||||
if (panels.popouts.currentName.startsWith("traymenu") && (panels.popouts.current as StackView)?.depth > 1)
|
||||
return true;
|
||||
if (s.settings)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
onCleared: {
|
||||
root.screenState.launcher = false;
|
||||
|
||||
Reference in New Issue
Block a user