Otter-shell · #185

zoolander overview space between workspaces + prevent reel shrinking

CompletedFeature2 votes1 commentsby kw

it would be great if i could set how much distance should be between workspaces while on the overview. currently only one "reel" shows on the overview so its kinda hard to see all my opened windows on different workspaces at once. on umbriel they are relatively close to eachother so if i go to the overview i can see atleast 3 of them at once which makes it easier to navigate.

on umbriel/niri if a workspace has multiple windows only a few are visible on the overview the rest is accessable with super+mousewheel while hovering it to the specific workspace reel. if the user could specify in zoolander settings how many windows should be visible the compositor could shrink those windows on that specific reel to be able to show them all at once like how it does currently. default should be three so it doesnt shrink it at all.

Discussion

Ferreo

Added in Zoolander 0.1.36 and zoolander-settings 0.13.31 (both in the cockatiel repo).

Two new overview options, in Zoolander Settings > Workspaces & Layouts > Gestures & overview, or in Lua:

  • zl.set_overview({ gap = 8 }): the space between workspace cards. Unset keeps the old spacing.
  • zl.set_overview({ visible_windows = 3 }): each card is sized as if it held at most that many windows; the rest sit past the card's edge. Hover a card and use Super + mouse wheel (or the touchpad) to scroll it. 0 keeps the old shrink-to-fit behaviour.

To see several workspaces at once, combine gap with the existing scale option, e.g. zl.set_overview({ scale = 0.35, gap = 8 }) fits three workspaces on a 1080p screen.

Sign in with Discord to comment.