Skip to content

Add an option to collapse the system tray behind a double arrow - #53

Open
shuretokki wants to merge 1 commit into
0-ss:mainfrom
shuretokki:feat/tray-chevron
Open

shuretokki wants to merge 1 commit into
0-ss:mainfrom
shuretokki:feat/tray-chevron

Conversation

@shuretokki

Copy link
Copy Markdown

Hi, I'd like to propose an optional double arrow for the bar that hides the tray icons until you click it, a bit like newer macOS does. It might help when the tray has many icons.

What it does:

  • New switch in settings, "Collapse the system tray behind an arrow". It's off by default, so I think nobody sees a change unless they turn it on.
  • The tray icons slide and fade in and out, and the arrow morphs between left and right. The animation should follow "Reduce motion".
  • The tray stays open until you click the arrow again. I first tried an auto-close timer, but it could close while somebody still uses an icon, so I dropped it.
  • The arrow is a new chevrons kind in the existing Glyph.

The change is about 40 lines in MacBar.qml plus one row in MacDock.qml. I tested it on NixOS, Hyprland 0.57.1, Quickshell 0.3.2, on 0.5.3.

Adds a Collapse the system tray behind an arrow switch under the bar settings. It is off by default, so nothing changes unless it is turned on. The tray icons slide and fade in and out, and the double arrow morphs between left and right. The animations follow Reduce motion. The tray stays open until the arrow is clicked again.
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