From 897fbc3afb702728a6a88d48274fb0ffeb348d2a Mon Sep 17 00:00:00 2001 From: matt1432 Date: Sat, 23 Sep 2023 22:08:29 -0400 Subject: [PATCH] feat(ags overview): fix visibility of plus sign --- config/ags/js/overview/workspaces.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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: [