[dwm] [dvtm, patch] Locking the screen.

2008-05-31 Thread Claudio M. Alessi
Hi to all dvtm users, i wrote a little'n simple routine which allow to lock the screen until a passphrase has been inserted. It's doesn't deal with encrypted key (that's because i don't need it; it's quite easy to implement, btw). I hope someone else (other than me) will found it useful too.

[dwm] getting rid of viewprev()

2008-05-31 Thread yy
Writing my patch to automatically see previous tags (attached, extremely simple) I have noticed that you can get rid of viewprev() at the same time that you simplify view(). The diff is attached too (the only difference between both patches is an additional check in the if statement in

Re: [dwm] dwm-5.0 + bstack

2008-05-31 Thread Anselm R. Garbe
On Fri, May 30, 2008 at 07:48:09PM -0400, James Turner wrote: Is the lt-arrange behavior in setmfact going to get changed before 5.0 is released so we don't need to basically recreate the function in our layout patches? Yes I changed it, see hg tip. Kind regards, -- Anselm R. Garbe

Re: [dwm] getting rid of viewprev()

2008-05-31 Thread Anselm R. Garbe
On Sat, May 31, 2008 at 05:43:36PM +0200, yy wrote: Writing my patch to automatically see previous tags (attached, extremely simple) I have noticed that you can get rid of viewprev() at the same time that you simplify view(). The diff is attached too (the only difference between both patches

Re: [dwm] dwm-5.0 + bstack

2008-05-31 Thread James Turner
On Sat, May 31, 2008 at 06:06:34PM +0200, Anselm R. Garbe wrote: On Fri, May 30, 2008 at 07:48:09PM -0400, James Turner wrote: Is the lt-arrange behavior in setmfact going to get changed before 5.0 is released so we don't need to basically recreate the function in our layout patches? Yes

Re: [dwm] dwm-5.0 + bstack

2008-05-31 Thread James Turner
On Sat, May 31, 2008 at 12:16:24PM -0400, James Turner wrote: On Sat, May 31, 2008 at 06:06:34PM +0200, Anselm R. Garbe wrote: On Fri, May 30, 2008 at 07:48:09PM -0400, James Turner wrote: Is the lt-arrange behavior in setmfact going to get changed before 5.0 is released so we don't need

[dwm] tile bug if window has size of screen

2008-05-31 Thread Johannes Hofmann
Hi, in tip I see a weirdness whenever a new client has exactly the size of the screen. On my laptop e.g. xpdf -geometry 1400x1050 makes the tiled layout go crazy. bisect shows that 941bd7c15a32 introduced this behaviour. Cheers, Johannes

Re: [dwm] dwm-5.0 + bstack

2008-05-31 Thread Anselm R. Garbe
On Sat, May 31, 2008 at 12:20:59PM -0400, James Turner wrote: I think it should be if(!d || !lt-arrange) not if(!d || lt-arrange)? Oh, what a disaster! Sorry for the inconvenience! Fixed in hg tip. Kind regards, -- Anselm R. Garbe http://www.suckless.org/ GPG key: 0D73F361

Re: [dwm] getting rid of viewprev()

2008-05-31 Thread yy
2008/5/31 Anselm R. Garbe [EMAIL PROTECTED]: On Sat, May 31, 2008 at 05:43:36PM +0200, yy wrote: Writing my patch to automatically see previous tags (attached, extremely simple) I have noticed that you can get rid of viewprev() at the same time that you simplify view(). The diff is attached

Re: [dwm] dwm-5.0 + bstack

2008-05-31 Thread James Turner
On Sat, May 31, 2008 at 06:38:10PM +0200, Anselm R. Garbe wrote: On Sat, May 31, 2008 at 12:20:59PM -0400, James Turner wrote: I think it should be if(!d || !lt-arrange) not if(!d || lt-arrange)? Oh, what a disaster! Sorry for the inconvenience! Fixed in hg tip. Kind regards, --

[dwm] .zshrc alias dmenu

2008-05-31 Thread Jonny Gerold
Hello, I have aliases in my .zshrc file and was wondering how I could use these with dmenu. Like: alias rest='sudo s2ram -f -a3' I would like to be able to type rest into dmenu, and it to go to sleep... Thanks, Jonny

Re: [dwm] tile bug if window has size of screen

2008-05-31 Thread Szabolcs Nagy
On 5/31/08, Johannes Hofmann [EMAIL PROTECTED] wrote: in tip I see a weirdness whenever a new client has exactly the size of the screen. On my laptop e.g. xpdf -geometry 1400x1050 makes the tiled layout go crazy. bisect shows that 941bd7c15a32 introduced this behaviour. i can confirm it

Re: [dwm] .zshrc alias dmenu

2008-05-31 Thread Matthias-Christian Ott
Jonny Gerold [EMAIL PROTECTED] wrote: Hello, I have aliases in my .zshrc file and was wondering how I could use these with dmenu. Like: alias rest='sudo s2ram -f -a3' I would like to be able to type rest into dmenu, and it to go to sleep... This is not possible. Try this: $ mkdir ~/exe $

[dwm] Unused variable Client.flags

2008-05-31 Thread Premysl Hruby
Hi, i found that Client.flags is unused and can be removed. Patch attached. -Ph -- Premysl Anydot Hruby, http://www.redrum.cz/ diff -r 2c5c99803c2e dwm.c --- a/dwm.c Sat May 31 17:37:13 2008 +0100 +++ b/dwm.c Sat May 31 22:16:32 2008 +0200 @@ -69,7 +69,6 @@ int x, y, w, h; int basew,