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

swap windows in different containers

asked 2014-08-15 02:35:51 +0000

anonymous user

Anonymous

I am using a web browser that doesn't have builtin tabs. Instead 1 instance per website. I have a workspace that consists of a parent container with 2 tabs. the left tab is for the current web page i'm viewing. the right tab is a stacked container, holding all of my open web pages. what i would like to do is move a window from the stacked layout, to the left, and move what is currently on the left into the stacked container, and set focus to the left tab's window...all in one keybind. is this possible?

edit retag flag offensive close merge delete

Comments

This sounds interesting. What browser/config are you using?

cee gravatar imagecee ( 2014-08-15 09:10:51 +0000 )edit

I am using UZBL

axion gravatar imageaxion ( 2014-08-15 10:40:52 +0000 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-08-18 16:31:29 +0000

ANOKNUSA gravatar image

There are two reasons uzbl opens only a single instance per page: To keep the code base simple, and to provide a negative incentive to prevent the mess that results from having too many open browser tabs. The effect you're looking for could be achieved with a single tabbed container instead of a convoluted series of nested containers.

I'm guessing the reason you want this is so you can view the full page title in the titlebar while having lots of open uzbl instances (I can't see any other reason, since you have to cycle through all the windows to swap the two you want anyway). The solution would be to use a single stacked container and not open more browser windows than you need at one time, and use bookmarks for important sites. As it is there's no swap function built into i3, though it's likely possible to achieve one with IPC. Again, though, this would just be extra work aimed at sustaining the bad browsing habits uzbl was designed to curtail.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-08-15 02:35:51 +0000

Seen: 258 times

Last updated: Aug 18 '14