Moving to the last visited workspace
how can I set up i3 for move to the last visited workspace when the current workspace is empty?
how can I set up i3 for move to the last visited workspace when the current workspace is empty?
In your config, set the option workspace_auto_back_and_forth yes
. When you are on, say, workspace 1 now and switch to 4 (which is empty), another $mod+4 takes you back to workspace 1. I think this is kind of what you want?
thanks for the reply, but the problem with workspace_auto_back_and_forth is when for example I use Mod1+Enter it will move to the workspace terminals and open a terminal, and if I use Mod1+Enter one more time it will back to the last visited workspace and the terminal will be opened there .
in the case of mod+enter, you could still check whether you already are on the "terminals"-workspace before issuing the command to move there. See ipc guide: http://i3wm.org/docs/ipc.html#_workspaces_reply
Asked: 2013-06-06 02:39:04 +0000
Seen: 345 times
Last updated: Jun 06 '13