ags improvements

This commit is contained in:
2023-10-29 23:24:38 +01:00
parent fdc60edf74
commit c5d253102e
4 changed files with 82 additions and 78 deletions

View File

@@ -14,7 +14,7 @@ const activeWorkspaceIndicator = Widget.Box({
[Hyprland.active.workspace, (box) => {
const ws = Hyprland.active.workspace.id;
box.setStyle(`
margin-left: -${1.772 * (NUM_OF_WORKSPACES - ws + 1) + WORKSPACE_SIDE_PAD / 2 - 0.2}rem;
margin-left: -${1.772 * (NUM_OF_WORKSPACES - ws + 1) + WORKSPACE_SIDE_PAD / 2 + 0.4}rem;
`);
lastWorkspace = ws;
}],