The i3 FAQ has migrated to https://www.reddit.com/r/i3wm/. All content here is read-only.
Ask Your Question
0

How can I move a container by its class?

asked 2015-12-19 21:35:11 +0000

this post is marked as community wiki

This post is a wiki. Anyone with karma >100 is welcome to improve it.

I want to move a specific container to the workspace that is being switched to. The container already exists. I had something like this in mind:

bindsym $mod+1 move "specific_container" to workspace 1; workspace 1;

thanks.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-12-19 22:54:37 +0000

Airblader gravatar image

updated 2015-12-19 22:55:53 +0000

bindsym $mod+1 [class=special] move container to workspace 1; workspace 1

http://i3wm.org/docs/userguide.html#c...

edit flag offensive delete link more

Comments

Thank you, this worked but sadly I am expieriencing another issue. I am using Layout saving and after the application is moved to workspace2 the placeholder on workspace2 is stays empty. After moving back to workspace1 the original placeholder stays empty aswell. Is there any way to resolve this?

i3noobonline gravatar imagei3noobonline ( 2015-12-20 01:01:41 +0000 )edit

Sorry, I don't really understand. Can you please describe step by step what you're doing, what happens and what you expect to happen instead? Ideally, do this on the i3wm subreddit where such posts are easier to read.

Airblader gravatar imageAirblader ( 2015-12-20 01:24:01 +0000 )edit

Question Tools

Stats

Asked: 2015-12-19 21:35:11 +0000

Seen: 20 times

Last updated: 19 hours ago