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

2007-09-25 Thread Anselm R. Garbe
On Mon, Sep 24, 2007 at 08:50:53PM +0100, Chris Webb wrote: Anselm R. Garbe [EMAIL PROTECTED] writes: it won't last long that the need arises to also configure the key bindings, and the terminal command, and the dmenu command, and what not using such capabilities. Actually... :-)

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

2007-09-25 Thread Anselm R. Garbe
On Tue, Sep 25, 2007 at 08:04:54AM +0200, Anselm R. Garbe wrote: On Mon, Sep 24, 2007 at 08:50:53PM +0100, Chris Webb wrote: Anselm R. Garbe [EMAIL PROTECTED] writes: it won't last long that the need arises to also configure the key bindings, and the terminal command, and the dmenu

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

2007-09-25 Thread Jan Christoph Ebersbach
On Tue 25-09-2007 11:41, WyrmSkull wrote: What about having some default bash scripts keybinding? MODKEY | ShiftMask, XK_(F1 to F10), spawn, exec bash_script_(01 to 10).sh 0 byte files don't take too much space, 0 LOC, and can be edited runtime. You can add edit_keybind_(F1 to F10) dmenu

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

2007-09-25 Thread Anselm R. Garbe
On Tue, Sep 25, 2007 at 02:20:36PM +0200, Jan Christoph Ebersbach wrote: On Tue 25-09-2007 11:41, WyrmSkull wrote: What about having some default bash scripts keybinding? MODKEY | ShiftMask, XK_(F1 to F10), spawn, exec bash_script_(01 to 10).sh 0 byte files don't take too much space, 0

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

2007-09-25 Thread WyrmSkull
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

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

2007-09-25 Thread WyrmSkull
Anselm R. Garbe wrote That's exactly the proposal I had sometime ago, but it scares me that it will bring unecessary complexity Rules already have to be written manually - instead of those you could use bash scripts. xterm -- echo tag Xterm,2 | dwm This could cut the rules parts out.

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

2007-09-25 Thread Anselm R. Garbe
On Tue, Sep 25, 2007 at 03:40:04PM +0200, WyrmSkull wrote: Anselm R. Garbe wrote That's exactly the proposal I had sometime ago, but it scares me that it will bring unecessary complexity Rules already have to be written manually - instead of those you could use bash scripts. xterm -- echo

[dwm] no () around ISTILE

2007-09-25 Thread Szabolcs Nagy
#define ISTILEisarrange(tile) /* || isarrange(custom) */ can be misleading with custom layouts since in zoom() it is used like if(.. !ISTILED ..) return; so either there should be a comment about parenthesis in config.def.h or zoom should use it like 'if(.. !(ISTILED) ..)'

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

2007-09-25 Thread Jan Christoph Ebersbach
On Tue 25-09-2007 14:34, Anselm R. Garbe wrote: I implemented tag/floating state preservation as prototype shortly before dwm 4.4 appeared. However it made the code too complex for my taste for a rarely used functionality. I prefer using hibernation technologies instead of restarting dwm. And

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

2007-09-25 Thread Kurt H Maier
On 9/25/07, markus schnalke [EMAIL PROTECTED] wrote: That's information I read somewhere. I only tested, that .Xresources on it's own not gets interpreted a X init on my system (debian etch). That's debian's doing, not x.org's. X.org has always had both files; according to the X(7) man page,

Re: [dwm] no () around ISTILE

2007-09-25 Thread Jesus Galan
On Tue, Sep 25, 2007 at 11:35:05PM +0200, Jesus Galan wrote: On Tue, Sep 25, 2007 at 09:29:36PM +0200, Szabolcs Nagy wrote: #define ISTILEisarrange(tile) /* || isarrange(custom) */ can be misleading with custom layouts since in zoom() it is used like if(.. !ISTILED ..) return;

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

2007-09-25 Thread Kai Grossjohann
On Tue, Sep 25, 2007 at 10:58:40PM +0200, markus schnalke wrote: .Xresources just want to mention, that this file's name '.Xresources' has changed to '.Xdefaults' in newer versions of X ~/.Xdefaults is read by the client on startup. (This is important for remote clients -- the

[dwm] dwm-4.5 fails to build

2007-09-25 Thread John A. Grahor
I'm running RedHat 9 and dwm-4.5 fails to build. It craps out in regex.h where size_t is not defined. I had to add #include sys/types.h before regex.h as per the regex man page to get things to work. BTW, I installed Chris Webb's columns patch and it's great!!! I run dwm with a two