Skip to content

Add a unified icon grid to the Dock - #54

Open
shuretokki wants to merge 1 commit into
0-ss:mainfrom
shuretokki:feat/dock-icon-grid
Open

shuretokki wants to merge 1 commit into
0-ss:mainfrom
shuretokki:feat/dock-icon-grid

Conversation

@shuretokki

@shuretokki shuretokki commented Nov 22, 2026 •

Copy link
Copy Markdown

Hi, this one is bigger, sorry. I'm not sure if it fits what you want for the Dock, so please say if it's too much and I could cut it down.

Some icon packs have icons with different sizes and corners, so the Dock can look a bit uneven. This adds an optional "unified icon grid":

  • every icon is sized to the same grid and clipped to one rounded shape,
  • the transparent corners are filled with the icon's own colour, so a rounded icon doesn't show a gap when the shape is square,
  • wide icons shrink a little to stay inside the shape,
  • a thin light edge is drawn along the border, and the edge is anti-aliased in screen pixels, so it should look smooth.

There's a switch under Dock settings to turn it off. Sliders and a shape choice are not in this PR, they are in #56 (stacked on this one), if you like the idea.

Notes:

  • Icons are classified by sampling a 32x32 copy (IconClass.qml). It's a heuristic, so some icon might be classified wrong. I only looked at the icon themes I have.
  • Two small shaders are added, iconclip.frag and iconrim.frag. I included the compiled .qsb files.
  • About 325 lines, and around 200 of them are the new files.

Before and after screenshots are below.

icon-before icon-after

Tested on NixOS, Hyprland 0.57.1, Quickshell 0.3.2, on 0.5.3.

Sizes every Dock icon to one grid, clips it to a rounded shape, fills the corners with the icon colour and adds a light edge. Wide icons shrink to stay inside the shape. A switch under Dock settings turns it off. Compiled qsb files are included.
MythosOfs added a commit to MythosOfs/MacShell that referenced this pull request Nov 22, 2026
Bring in Debian 13 support, GIF and WebP widgets, animated album art,
karaoke lyrics, System Monitor, optional Genie minimize, floating window
defaults, uptime, WireGuard, the audio hub, Reminders, Spotlight subtraction,
pinned-only Dock mode, tray collapse, and the unified icon grid.

Keep the fork's existing Spotlight screenshot search and Bluetooth status
reader. Sample Dock icons from the existing Image, fetch Apple Music motion
art from its public album page, and reuse MacLock's existing Spotify helper.
Isolate optional lyrics dependencies in a virtual environment.

Upstream: 0-ss#9, 0-ss#10, 0-ss#11, 0-ss#12, 0-ss#14, 0-ss#19, 0-ss#21, 0-ss#28, 0-ss#45, 0-ss#47,
0-ss#49, 0-ss#50, 0-ss#52, 0-ss#53, 0-ss#54.

Co-authored-by: 4sakenme <thienphutrinh4567@gmail.com>
Co-authored-by: Dexul <lcedu.dev@gmail.com>
Co-authored-by: Doffi4 <206447286+Doffi4@users.noreply.github.com>
Co-authored-by: Hrithik Ram Prasath <220790015+hrithikramprasath@users.noreply.github.com>
Co-authored-by: Marian Barba <134831821+MarianC-programing@users.noreply.github.com>
Co-authored-by: Victor Zwaga <victor.zwaga@gmail.com>
Co-authored-by: freroxx <yikni2829@gmail.com>
Co-authored-by: shuretokki <tri.r.utomo@gmail.com>
Co-authored-by: w4nnnn <irwanfebriansyah112@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant