Skip to content

feat: add workspace.toggle_on_refocus workspace config option - #1378

Open
hiszd wants to merge 1 commit into
glzr-io:mainfrom
hiszd:main
Open

feat: add workspace.toggle_on_refocus workspace config option#1378
hiszd wants to merge 1 commit into
glzr-io:mainfrom
hiszd:main

Conversation

@hiszd

@hiszd hiszd commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

Summary

This feature adds the config option under each workspace to be able to toggle back to the most recent workspace when refocusing the workspace. The option is labeled toggle_on_refocus to match the global option.

Details

  • The local workspace.toggle_on_refocus option overrides the global.toggle_workspace_on_refocus option for the individual workspace. If the global option is true, and the local option is not Some(false), or if the global option is false, but the workspace local option is Some(true) then the option is enabled. (logic for this at packages/wm/src/wm_state.rs:369-381)
  • This option piggybacks on the functionality of the global.toggle_workspace_on_refocus option, but is configured at the workspace level.

This feature adds the config option under each workspace to be able to
toggle back to the most recent workspace when refocusing the workspace.
The option is labeled `toggle_on_refocus` to match the global option.
@github-project-automation github-project-automation Bot moved this to 📬 Needs triage in glazewm Apr 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 📬 Needs triage

Development

Successfully merging this pull request may close these issues.

1 participant