diff --git a/.config/i3/config b/.config/i3/config index a2ce0bd..01a4d9b 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -97,6 +97,12 @@ bindsym $mod+8 workspace $ws8 bindsym $mod+9 workspace $ws9 bindsym $mod+0 workspace $ws10 +# Switch visible workspaces (e.g. multi monitor setup) +bindsym $mod+Tab exec i3-msg workspace "$( \ + i3-msg -t get_workspaces | \ + jq '.[] | select(.visible and (.focused | not)).num' | \ + head -1)" + # move focused container to workspace bindsym $mod+Shift+1 move container to workspace $ws1 bindsym $mod+Shift+2 move container to workspace $ws2