i3: Activate workspace_auto_back_and_forth

Switch back to the previous workspace by pressing the binding that would
focus the current workspace.
This commit is contained in:
2023-04-20 00:15:33 +02:00
parent 69d0290afd
commit b24541fb42

View File

@@ -95,6 +95,9 @@ bindsym $mod+8 workspace $ws8
bindsym $mod+9 workspace $ws9
bindsym $mod+0 workspace $ws10
# switch back to the previous workspace with $mod+<current_workspace>
workspace_auto_back_and_forth yes
# Switch visible workspaces (e.g. multi monitor setup)
bindsym $mod+Tab exec i3-msg workspace "$( \
i3-msg -t get_workspaces | \