Skip to content

workspace-switcher: Add preview size setting#13873

Open
Shirinveg wants to merge 1 commit into
linuxmint:masterfrom
Shirinveg:workspace-switcher-preview-size
Open

workspace-switcher: Add preview size setting#13873
Shirinveg wants to merge 1 commit into
linuxmint:masterfrom
Shirinveg:workspace-switcher-preview-size

Conversation

@Shirinveg

Copy link
Copy Markdown

What changed

Adds a size slider to the built-in workspace switcher applet.

The slider allows workspace previews to be scaled from 25% to 100% of the panel size.

Why

Workspace previews can occupy excessive panel space, especially when several workspaces are enabled.

Previously, users had no applet setting to reduce their size.

Implementation

The preview container, drawing area, window representations and application icons are scaled together. This avoids clipping and alignment issues.

The default value is 100%, so existing users keep the current appearance.

Tested

  • Cinnamon 6.6.7
  • Horizontal panel
  • Visual workspace representation
  • Preview sizes from 25% to 100%

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