Re: [dwm] dmenu, slock patches; slock DPMS crash

2008-04-09 Thread Anselm R. Garbe
On Tue, Apr 08, 2008 at 09:31:03PM +0200, Matthias-Christian Ott wrote: Maybe one could a rc script as a Plan 9 like alternative, if a lot of users request Plan 9 tools support. Well, p9p is no objective anymore for the vanilla dmenu, because dmenu_path is a sh-script anyways, so it is expected

Re: [dwm] togglemax substiute in 4.9?

2008-04-09 Thread Anselm R. Garbe
On Tue, Apr 08, 2008 at 07:52:03PM +0200, Matthias-Christian Ott wrote: yy [EMAIL PROTECTED] wrote: Well, this is my proposal in patch form. I'm not sure about the convenience of setting fx and fy in tileresize, but you get the idea. I posted a similar patch on 31st March, so it is

Re: [dwm] togglemax substiute in 4.9?

2008-04-09 Thread yy
2008/4/9, Anselm R. Garbe [EMAIL PROTECTED]: On Tue, Apr 08, 2008 at 07:52:03PM +0200, Matthias-Christian Ott wrote: yy [EMAIL PROTECTED] wrote: Well, this is my proposal in patch form. I'm not sure about the convenience of setting fx and fy in tileresize, but you get the idea. I

Re: [dwm] dmenu, slock patches; slock DPMS crash

2008-04-09 Thread markus schnalke
Anselm R. Garbe [EMAIL PROTECTED] wrote: Though, I'm not totally sure if the sort -u breaks anything with wmii. This needs to be tested first. What is the problem with `sort | uniq'. Okay, it may be a bit slower, but beside that ...? If it is more portable than `sort -u', so why don't use it?

Re: [dwm] togglemax substiute in 4.9?

2008-04-09 Thread Anselm R. Garbe
On Wed, Apr 09, 2008 at 11:40:09AM +0200, yy wrote: 2008/4/9, Anselm R. Garbe [EMAIL PROTECTED]: On Tue, Apr 08, 2008 at 07:52:03PM +0200, Matthias-Christian Ott wrote: yy [EMAIL PROTECTED] wrote: Well, this is my proposal in patch form. I'm not sure about the convenience of

Re: [dwm] dmenu, slock patches; slock DPMS crash

2008-04-09 Thread Anselm R. Garbe
On Tue, Apr 08, 2008 at 02:37:10PM +0200, Peter Hartlich wrote: Also, with the new DPMS code from changeset 31, slock crashes here (X.org server 1.4.0.90, DPMS disabled in xorg.conf): | X Error of failed request: BadMatch (invalid parameter attributes) | Major opcode of failed

Re: [dwm] togglemax substiute in 4.9?

2008-04-09 Thread Anselm R. Garbe
On Tue, Apr 08, 2008 at 07:16:03PM +0200, yy wrote: Well, this is my proposal in patch form. I'm not sure about the convenience of setting fx and fy in tileresize, but you get the idea. I think about your solution. Kind regards, -- Anselm R. Garbe http://www.suckless.org/ GPG key: 0D73F361

Re: [dwm] dmenu, slock patches; slock DPMS crash

2008-04-09 Thread Anselm R. Garbe
On Wed, Apr 09, 2008 at 11:49:33AM +0200, markus schnalke wrote: Anselm R. Garbe [EMAIL PROTECTED] wrote: Though, I'm not totally sure if the sort -u breaks anything with wmii. This needs to be tested first. What is the problem with `sort | uniq'. Okay, it may be a bit slower, but

[dwm] Preventing xterm from closing by killclient()

2008-04-09 Thread Martin Sander
Hey. In the last time I repeatedly closed xterm windows on accident by my killclient binding (MODKEY|ShiftMask, XK_c) because I did not see that the xterm had focus and not that stupid other client that does not provide a convenient keyboard shortcut of its own to close. I always close xterms

[dwm] fgeom patch

2008-04-09 Thread yy
As discussed before, this is the patch with the floating geometry functionality. I removed some loc in restack, but I had to add more in other places to correctly manage mouse actions when in monocle layout (isn't a bug the current possibility of moving and resizing windows while in monocle

Re: [dwm] Preventing xterm from closing by killclient()

2008-04-09 Thread Anselm R. Garbe
On Wed, Apr 09, 2008 at 04:03:44PM +0200, Martin Sander wrote: In the last time I repeatedly closed xterm windows on accident by my killclient binding (MODKEY|ShiftMask, XK_c) because I did not see that the xterm had focus and not that stupid other client that does not provide a convenient

Re: [dwm] dmenu, slock patches; slock DPMS crash

2008-04-09 Thread Anselm R. Garbe
Sorry for odd reasons the applied patches weren't present in the dmenu hg tip, this is fixed now. On Tue, Apr 08, 2008 at 10:57:20AM +0200, Anselm R. Garbe wrote: On Mon, Apr 07, 2008 at 10:51:15PM +0200, Peter Hartlich wrote: dmenu_run.patch: - replace $* with $@ so dmenu_run -p foo bar

Re: [dwm] dmenu, slock patches; slock DPMS crash

2008-04-09 Thread Anselm R. Garbe
On Wed, Apr 09, 2008 at 11:12:23AM +0200, Anselm R. Garbe wrote: On Tue, Apr 08, 2008 at 02:37:10PM +0200, Peter Hartlich wrote: Also, with the new DPMS code from changeset 31, slock crashes here (X.org server 1.4.0.90, DPMS disabled in xorg.conf): | X Error of failed request:

Re: [dwm] Preventing xterm from closing by killclient()

2008-04-09 Thread Martin Sander
On Wed, Apr 09, 2008 at 11:25:59PM +0200, Anselm R. Garbe wrote: Hmm, what about changing the binding to Ctrl-d in your setup then? Thanks for the suggestion, but I think I did not make myself entirely clear. My problem is of different nature. As an example, I have an xterm with an ipython [2]

Re: [dwm] Preventing xterm from closing by killclient()

2008-04-09 Thread Jeremy O'Brien
I recommend looking in applyrules() for some example code. You may be able to adapt it in killclient() :) On Apr 9, 2008, at 18:56, Martin Sander [EMAIL PROTECTED] wrote: On Wed, Apr 09, 2008 at 11:25:59PM +0200, Anselm R. Garbe wrote: Hmm, what about changing the binding to Ctrl-d in your