i3: Use back_and_forth instead of i3-msg+jq

This commit is contained in:
2025-09-17 17:35:19 +02:00
parent e8c5ec93f1
commit a3d2bf985c

View File

@@ -106,9 +106,7 @@ bindsym $mod+0 exec ~/.config/i3/multi-monitor-workspaces.sh -s 0
# switch back to the previous workspace
workspace_auto_back_and_forth yes
bindsym $mod+Tab exec i3-msg workspace "$( \
i3-msg -t get_workspaces | \
jq -r '.[] | select(.focused).name')"
bindsym $mod+Tab workspace back_and_forth
# Switch visible workspaces (e.g. multi monitor setup)
bindsym $mod+Shift+Tab exec i3-msg workspace "$( \