Tray icons expand horizontally on click to reveal detail text#1
Draft
Tray icons expand horizontally on click to reveal detail text#1
Conversation
…il text Agent-Logs-Url: https://github.com/exynoxx/LumenShell/sessions/16b13b3a-cd46-433f-8fa4-8d15adabb3e9 Co-authored-by: exynoxx <5389754+exynoxx@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
exynoxx
May 5, 2026 13:36
View session
Agent-Logs-Url: https://github.com/exynoxx/LumenShell/sessions/23b0313f-41ef-410d-b49a-4d5551bf796e Co-authored-by: exynoxx <5389754+exynoxx@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
trayicon.vala— expose fields/methods needed by ExitTrayICON_SIZE,COLLAPSED_WIDTH,MIN_EXPAND_THRESHOLD→protected constcurrent_width,anim_id,render_x,render_y→protectedprotected virtual int get_expanded_width()(default 180, overridable)protected void render_icon(Context ctx)helpermouse_down()+render()to useget_expanded_width()andMIN_EXPAND_THRESHOLDexit.vala— complete rewrite with two-button promptmouse_motion()to trackoption_hovered(0=none, 1=Close App, 2=Shutdown)render(): draws "Close App" / "Shutdown" labels with fade-in progress alpha; option hover highlights (neutral grey / red tint)wlrctl window focus killwith error handlingsystemctl poweroffwith error handling