Hyprland overview: add a toggle for uniform workspace card sizes

Đang mở
#4,451 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
linux
Lĩnh vực
desktop

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
QML
Star
8.4k
Fork
549
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của AvengeMedia/DankMaterialShell

Tất cả issue của AvengeMedia/DankMaterialShell

Issue tương tự

Thêm issue về Desktop Dev

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.