wayland.windowManager.sway.config.workspaceAutoBackAndForth
Home-Manager option
Assume you are on workspace “1: www” and switch to “2: IM” using mod+2 because somebody sent you a message. You don’t need to remember where you came from now, you can just press $mod+2 again to switch back to “1: www”.
type: booleanDefault
false
Example
declared in: <home-manager/modules/services/window-managers/i3-sway/sway.nix>source unavailabletrue