Skip to content

feat(workspaces): add configurable font size - #932

Open
nileoe wants to merge 1 commit into
MalpenZibo:mainfrom
nileoe:feat/workspaces-font-size
Open

feat(workspaces): add configurable font size#932
nileoe wants to merge 1 commit into
MalpenZibo:mainfrom
nileoe:feat/workspaces-font-size

Conversation

@nileoe

@nileoe nileoe commented Aug 21, 2026

Copy link
Copy Markdown

Workspace numbers/names currently render at the smallest step on ashell's
font-size scale (theme.font_size.xs, 10px), which is smaller than the
rest of the bar (window_title uses 12px, the clock's main time text falls
back to iced's 16px default), and there is no way to change it from config.

Adds a basic font_size option on [workspaces]: "small" (default, unchanged
behavior) or "large" (bumps to theme.font_size.sm, matching
window_title).

Only two values for now (limited-scope change). The bar height is a fixed
constant, and the workspace button height is pegged to theme.space.md
(16px). A larger theme.font_size.md (16px) font would leave no vertical margin
and looks cramped/clipped without additional changes so anything past large
(internal sm font size) isn't usable until bar height itself becomes configurable,
which is separate, larger work (see #120).

[workspaces]
font_size = "large"

Hot-reloads for free since WorkspacesModuleConfig already flows through
the existing ConfigReloaded path — no new plumbing needed.

Screenshots

Small (default, current)

small_numbers small_letters

Large (new)

large_numbers large_letters

Workspace text renders noticeably smaller than the rest of the bar by
default (xs vs. sm/md elsewhere) with no way to change it. Add a
`font_size` option scoped to "small" (default) / "large" only, since
the bar height is fixed and anything bigger doesn't fit the workspace
button without also making the bar taller.
@nileoe
nileoe force-pushed the feat/workspaces-font-size branch from 7d5ef0d to 9db9391 Compare August 22, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant