Re: [dwm] dwm wish, a tidy-up function

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Thu, 6 Dec 2007 10:00:17 +0100

There comes my old idea into mind to implement a tiny command
language understood by the status text reader, e.g. to provide a
very basic configuration interface -- which would work similiar
to wmii's ctl files. One could do:

tag=2

status="foo bar baz"

selcolor="#336677"

etc.

Does that make sense?

Regards,
        Anselm

On Thu, Dec 06, 2007 at 09:54:35AM +0100, Anselm R. Garbe wrote:
> Well, the only thing which is missing that dwm keeps state of
> the currently selected tags. The idea is that dwm putenv's the
> currently selected tags whenever they change and a newly spawned
> dwm instance looks for that environment variable and pre-selects
> those tags. Then a clean restart will behave like reapplying all
> tagging rules beside persisting the selected tags.
>
> What do you think about this proposal? I think of something
> like:
>
> DWMTAGS="1:2:www"
>
> You could as well define them in your X start script and dwm
> will use those instead.
>
> Regards,
> Anselm
>
> On Wed, Dec 05, 2007 at 09:15:41AM +0100, Anselm R. Garbe wrote:
> > Hi,
> >
> > Let me think about this proposal. Restarting dwm should do the
> > job, maybe it's a good idea to have a restart function in
> > opposite to quit as well.
> >
> > Regards,
> > Anselm
> >
> >
> > On Wed, Dec 05, 2007 at 12:44:38AM +0100, Antoni Grzymala wrote:
> > > Hi,
> > >
> > > just came across another idea. How about implementing a function in dwm
> > > that would reapply all the predefined rules (float/non-float, tagging)
> > > to all clients in a dwm session.
> > >
> > > This could either be a function bindable to a keystroke, or dwm reacting
> > > to a signal (say, HUP), or what not.
> > >
> > > This way, when I do a total mess with tagging and floating my clients
> > > (sometimes it happens and I get lost) I could get my everyday dwm state
> > > with one keystroke or command.
> > >
> > > What do you think?
> > >
> > > I presume this could also be achieved by restarting dwm, but this
> > > doesn't seem too clean to me, and also would not integrate well with a
> > > login manager (from what it seems).
> > >
> > > If something like that is already there, excuse my infinite dumbness for
> > > not noticing.
> > >
> > > Best,
> > >
> > > --
> > > [a]
> >
> >
> >
> > --
> > Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
> >
>
> --
> Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
>

-- 
 Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
Received on Thu Dec 06 2007 - 10:00:17 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:08:51 UTC