diff --git a/config/ags/js/overview/workspaces.js b/config/ags/js/overview/workspaces.js index 55d8d8fe..d4fbc6f9 100644 --- a/config/ags/js/overview/workspaces.js +++ b/config/ags/js/overview/workspaces.js @@ -28,7 +28,10 @@ export const WorkspaceRow = (className, i) => Revealer({ children: [null, EventBox({ properties: [['box']], setup: eventbox => eventbox._box = eventbox.child.children[0], - onHover: eventbox => eventbox._box.revealChild = true, + connections: [[Hyprland, eventbox => { + eventbox._box.revealChild = className === 'special' || + !Hyprland.workspaces.some(ws => ws.id > i * VARS.WORKSPACE_PER_ROW + VARS.WORKSPACE_PER_ROW && (ws.windows > 0 || ws.id === Hyprland.active.workspace.id)); + }]], child: Box({ className: className, children: [