The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

auto-follow application / container

asked Sep 8 '15

berg gravatar image

updated Sep 8 '15

1# Let's say, I'm on workspace 5. Then I hit the shortcut for starting an application that is assigned to another workspace. Is it possible to auto-follow the app(container?) to the workspace it is assigned to, i.e. auto-switch to that workspace?

2# Now something similar: follow the container when moving it to another workspace. Possible?

2 answers

Sort by » oldest newest most voted
0

answered Sep 8 '15

i3convert gravatar image

updated Sep 10 '15

You just have to execute two commands. Start the app or move the container and go to the specific workspace. Your #2 is even covered in the i3 user guide. More specifically, it is the second example in Section 6:

bindsym $mod+x move container to workspace 3; workspace 3

Comments

That is a solution for 1#. Thanks :-)!

berg gravatar imageberg (Sep 14 '15)edit
0

answered Sep 10 '15

oberon gravatar image

You can use for_window [urgent=latest] focus in your config for that.

Comments

This would be the solution for 2#, but it does not work. The window just moves to the other workspace, without focussing.

berg gravatar imageberg (Sep 14 '15)edit

Question Tools

1 follower

Stats

Asked: Sep 8 '15

Seen: 69 times

Last updated: Sep 10