Skip to content

feat(bar): tell special workspaces apart on the vertical bar - #29

Open
kellyson71 wants to merge 1 commit into
pctrade:mainfrom
kellyson71:feat/special-workspace-icons
Open

feat(bar): tell special workspaces apart on the vertical bar#29
kellyson71 wants to merge 1 commit into
pctrade:mainfrom
kellyson71:feat/special-workspace-icons

Conversation

@kellyson71

Copy link
Copy Markdown

On the vertical bar there is no room for the workspace name, so the special workspace pill always draws a literal S:

text: (!root.vertical ? wsModel.specialWorkspaceName : "S")

With more than one special workspace, you can't tell which one is open.

This maps each one to an icon instead:

workspace icon
music music_cast
communication forum
todo checklist
sysmon monitor_heart
anything else star

Claude has no Material Symbols glyph, so it uses the app's tray icon, tinted to match the others. If the file isn't there, it falls back to the generic icon.

The horizontal bar is unchanged — it has room for the name.

Inspired by how Caelestia does it (utils/Icons.qml).

One file, +42/-1. Tested on Hyprland 0.56.2, Quickshell 0.3.0.

…rtical bar

The vertical bar had no room for the workspace name, so it always drew
a literal "S" and you could not tell which special workspace was open.
Map each one to an icon instead. Claude has no Material Symbols glyph,
so its tray icon is tinted to match; if that file is missing the pill
falls back to the generic icon.

The horizontal bar keeps showing the name.
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