Re: [dwm] Quake style terminal emulators on DWM

From: Alexander Polakov <polachok_AT_gmail.com>
Date: Tue, 4 Sep 2007 18:22:26 +0400

* Arun G Nair <arungnair_AT_gmail.com> [070904 18:09]:
> On 8/17/07, pancake <pancake_AT_youterm.com> wrote:
> > wow yeahconsole is cool :) i saw yeahlaunch there too.
> >
> > I was a tilda user since i started using dwm, but i try yeahconsole, it's
> > useful to store cross-desktop/tag notes on a popup vim without losing
> > all the opened windows
> >
>
> How difficult would it be to add such a scratchpad (as ion calls it)
> to dwm ? It would be a great imo. I miss it.
>
> -Arun

So am I. Put the needed window on tag "scratch", make it floating and use toggleview().
if you need to focus it use this function instead of toggleview():

void
focusview(const char *arg) {
        Client *c;
        int i;
        toggleview(arg);
        i = idxoftag(arg);
        if (!seltags[i])
                return;
        for(c = clients; c; c = c->next)
                if (c->tags[i])
                        focus(c);
}

-- 
Alexander Polakov | http://polachok.livejournal.com
Russian DWM users | http://community.livejournal.com/ru_dwm/
Received on Tue Sep 04 2007 - 16:23:19 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:51:54 UTC