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 2015-09-08 20:02:23 +0000

berg gravatar image

updated 2015-09-08 20:03:38 +0000

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?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-09-08 21:03:23 +0000

i3convert gravatar image

updated 2015-09-10 16:36:53 +0000

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
edit flag offensive delete link more

Comments

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

berg gravatar imageberg ( 2015-09-14 17:59:17 +0000 )edit
0

answered 2015-09-10 21:38:17 +0000

oberon gravatar image

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

edit flag offensive delete link more

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 ( 2015-09-14 17:55:26 +0000 )edit

Question Tools

1 follower

Stats

Asked: 2015-09-08 20:02:23 +0000

Seen: 69 times

Last updated: Sep 10