Re: [dev] [spacebed] attach on demand

From: Hadrian Węgrzynowski <hadrian_AT_hawski.com>
Date: Fri, 12 Oct 2012 14:07:51 +0200

On Fri, 12 Oct 2012 08:07:55 -0300
Carlos Pita <carlosjosepita_AT_gmail.com> wrote:

> Hi,
>
> I tend to open every surf instance (except for apps like gmail) in its
> own spacebed instance just because I don't know beforehand if I would
> need less spaces while navigating from the initial page. The ability to
> attach (and maybe detach) to spacebed on demand would be very handy in
> order to avoid this just-in-case usage pattern. Has anyone wrote a
> pull request like that? How do you use spacebed+surf?
>
> Best regards
> --
> Carlos
>

I was thinking about something like this.
Attach is quite easy to make using i.e. xdotool.
Using script like this (untested):
xdotool selectwindow windowreparent TABBED_ID
Spawned by spacebed.
Detach is reparenting window back to root window. After such operation
reparented window is working quite normally, but inside spacebed remains
nonfunctional space. Probably quite easy to fix.

Regards.
Received on Fri Oct 12 2012 - 14:07:51 CEST

This archive was generated by hypermail 2.3.0 : Fri Oct 12 2012 - 14:12:04 CEST