Hyprland overview: add a toggle for uniform workspace card sizes

Open
#4,451 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
68/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
linux
Domain
desktop

Research direction

Start with the Hyprland workspace overview settings UI and the code that lays out workspace cards across monitors. Trace how monitor resolution and scale currently determine each card’s outer size, then add the toggle while retaining current behavior as the default. Done means all cards on the overview display share one fitted size, previews preserve aspect ratio and monitor labels, and the disabled setting reproduces the existing per-monitor sizing.

Written by the indexing model from the issue text.

Description

Feature Description

Please add a Uniform workspace card sizes toggle to the Hyprland workspace overview settings. When enabled, every workspace should have the same outer card size in the grid, regardless of its monitor's resolution or display scale. When disabled, keep the current per-monitor sizing behavior.

Use Case

On DMS 2.1.2 with Hyprland 0.57.2 (CachyOS), I use a 2560×1440 laptop display at 125% and a 3840×2160 external display at 100%. With workspaces on both monitors, opening the overview on the laptop makes the external monitor's cards about 1.9× as wide as the laptop's cards. A five-column row can extend past both edges of the laptop screen, clipping the first and last cards. Reducing the overall overview scale would make everything smaller but would not make the cards equal.

Compositor(s)
  • Hyprland
Proposed Solution

Keep current behavior as the default. In uniform mode, pick a common card size that fits the grid on the display where the overview is open. Fit each workspace preview inside its card without stretching it, preserving its aspect ratio and existing monitor label. This would make the grid predictable without changing actual display scaling or workspace assignments.

Dominant language
QML
Stars
8.4k
Forks
549
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from AvengeMedia/DankMaterialShell

All issues in AvengeMedia/DankMaterialShell

Similar issues

More Desktop Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.