Re: [dwm] [PATCH] An experiment with X resources

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Tue, 25 Sep 2007 15:28:32 +0200

On Tue, Sep 25, 2007 at 03:24:28PM +0200, WyrmSkull wrote:
>
> Is there a way to make dwm execute commands at runtime
> through standard input? Would that be too complex?
> All functions should be there, it's just a matter
> of parsing user input.
>
> echo "set_statusbar string" | dwm
> normal behavior
>
> echo "tag XTerm,1,2,5" | dwm
> XTerm gets tags 1,2,5
>
> DWM restart problem would be solved: you could save
> current state in a .dwmrc, then "cat .dwmrc" | dwm

That's exactly the proposal I had sometime ago, but it scares me
that it will bring unecessary complexity.

Regards,

-- 
 Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
Received on Tue Sep 25 2007 - 15:28:32 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:55:34 UTC