Skip to content

Preserve workspace layouts when changing themes#5403

Open
pipetogrep wants to merge 1 commit intobasecamp:devfrom
pipetogrep:preserve-workspace-layout-on-theme-change
Open

Preserve workspace layouts when changing themes#5403
pipetogrep wants to merge 1 commit intobasecamp:devfrom
pipetogrep:preserve-workspace-layout-on-theme-change

Conversation

@pipetogrep
Copy link
Copy Markdown
Contributor

@pipetogrep pipetogrep commented Apr 23, 2026

Summary

Preserves the current Hyprland workspace layout settings when changing Omarchy themes.

Theme changes replace the generated theme config that Hyprland sources, which can reset runtime workspace layout choices such as a workspace toggled from dwindle to scrolling. This captures each workspace's current tiledLayout before the theme config is swapped, then reapplies those workspace layout rules after the Hyprland reload.

Testing

  • Verified reapplying the current theme preserves an active scrolling and dwindle workspace
  • Verified switching from catppuccin-latte to catppuccin and back preserves an active scrolling workspace

@pipetogrep pipetogrep force-pushed the preserve-workspace-layout-on-theme-change branch from 3507fa1 to d3488a5 Compare April 23, 2026 14:22
@pipetogrep pipetogrep marked this pull request as ready for review April 23, 2026 14:28
Copilot AI review requested due to automatic review settings April 23, 2026 14:28
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants