feat(workspace-tray): add workspace tray bar widget with dropdown panel#3072
Open
joao-paulo-santos wants to merge 1 commit into
Open
feat(workspace-tray): add workspace tray bar widget with dropdown panel#3072joao-paulo-santos wants to merge 1 commit into
joao-paulo-santos wants to merge 1 commit into
Conversation
New bar widget that shows the active workspace name as colored text (no pill background by default), with a dropdown panel listing all workspaces on the current monitor. Click to switch, scroll to cycle. Widget settings: display mode (id/name), max label chars, show chevron, focused highlight only (different color per monitor focus), hide when empty, custom focused/occupied colors, optional new-workspace button with user-defined command and icon. The dropdown panel follows the same placement system as other panels (wallpaper, session, tray-drawer): attached/floating/centered with optional open-near-click positioning.
c912af2 to
eaef638
Compare
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.
Adds a new bar widget (
workspace_tray) designed as a simpleralternative to the workspaces widget. Shows only the active workspace
name as colored text, and opens a dropdown panel on click to switch
workspaces. Intended for users who prefer minimal visual clutter over
numbered workspace pills.
2026-06-19.01-25-04.mp4
Bar widget
adds background when configured
focused_color; unfocused monitors useoccupied_colorwhenfocused_onlyis enabledhide_when_emptyto hide when all workspaces on the monitor are emptyDropdown panel
with optional open-near-click), consistent with wallpaper, session,
and tray-drawer panels
Compositor-agnostic: the user provides the command that works for
their environment
Settings
Widget settings include: display mode (id / name), max label chars,
show chevron, focused highlight only, hide when empty, custom focused /
occupied colors, show new workspace button, new workspace command,
new workspace icon.
Panel placement settings appear in Settings > Panels alongside other
panels.
Config example
Compatibility
Uses
CompositorPlatformexclusively for workspace data andactivation. Works across all supported compositors (Hyprland, niri,
Sway, dwl, mango, triad, ext-workspace).