Re: [dwm] Mouse over tile ...

2007-09-16 Thread Antoni Grzymala
Tako rzecze Anselm R. Garbe (w e-mailu datowanym 2007-09-16, 14:34): So there arises a question. Traditionally in dwm Mod-Button2 was introduced for zooming clients in tiled mode. But now I more and more come to the conclusing, that this should be togglefloating() instead. Is there anyone

Re: [dwm] Mouse over tile ...

2007-09-16 Thread Damjan Vrencur
I think it's really useful. However I also implemented Mod-Button2 for toggling such floating clients back to tiled. Sorry, part of a previous message was nonsense. -- Damjan Vrenčur ~ http://lmmri.fri.uni-lj.si/damjan/ ~ GPG key: C6A3146F

Re: [dwm] Mouse over tile ...

2007-09-16 Thread Anydot
On (16/09/07 15:13), Damjan Vrencur wrote: But since Mod-Button1 does the same provided you don't move mouse, isn't it better to use Mod-Button2 for something else? I checked the latest tip and it seems to work nice except that now I got some unused space between clients. Screenshot:

Re: [dwm] Mouse over tile ...

2007-09-16 Thread pancake
I have always find the mod-click2 feature quite useful and handy, I have been using it since the beggining. Please do not remove it. Mod-Click1 to make windows floating looks cleaner to me. On Sun, 16 Sep 2007 15:13:17 +0200 Damjan Vrencur [EMAIL PROTECTED] wrote: On Sunday 16 of September

[dwm] Unused space between clients

2007-09-16 Thread Xavier
On Sun, Sep 16, 2007 at 03:13:17PM +0200, Damjan Vrencur wrote: I checked the latest tip and it seems to work nice except that now I got some unused space between clients. Screenshot: http://lmmri.fri.uni-lj.si/damjan/dwmScreenshot.png That space is much smaller here. And this is actually

Re: [dwm] Updated bottom stack patch

2007-09-16 Thread James Turner
On Sun, Sep 16, 2007 at 01:18:24PM +0200, Anselm R. Garbe wrote: Hi James, cool, I want to give an example how your patch should be reorganized that it works with less of a hassle beginning with dwm-4.5: [snip] Thanks for the great example, that will especially make things easier while the

Re: [dwm] Proper way of monitoring battery level in DWM

2007-09-16 Thread Albert Cardona
MAX_BATTERY_CAPACITY=84240 while true do echo `date '+%Y%m%d %H:%M'` `uptime | sed 's/.*: \(.\...\),.*/\1/'` $(( (`cat /proc/acpi/battery/BAT0/state | grep remaining capacity | sed 's/.*: \{5,\}\(.*\) mWh/\1/'` * 100) / $MAX_BATTERY_CAPACITY))% sleep 20 done |

[dwm] Fwd: Auto-discard notification

2007-09-16 Thread Anselm R. Garbe
The attached message has been automatically discarded. arg: On Sun, Sep 16, 2007 at 03:51:19PM +0200, pancake wrote: I have always find the mod-click2 feature quite useful and handy, I have been using it since the beggining. Please do not remove it. Mod-Click1 to make windows

Re: [dwm] I merged the whole source to one file and wanna let you know the implications

2007-09-16 Thread lobzang
That works, and I agree that's simpler. On Sun, 2007-09-16 at 13:06 +0200, Anselm R. Garbe wrote: I think one can argue a lot about how to organize source code the right way. Especially if your codebase is huge. Anyway, I realized that I reorganized the dwm code base a couple of times,

Re: [dwm] Proper way of monitoring battery level in DWM

2007-09-16 Thread Amit
Thank you for all the responses. Actually right now, I am using apm. I am not sure if acpi is supported on my notebook. This is an old PowerBook G4 500MHz. I will try modifying the scripts to use apm instead of acpi. Amit

Re: [dwm] Proper way of monitoring battery level in DWM

2007-09-16 Thread Riccardo Murri
On 9/16/07, Amit [EMAIL PROTECTED] wrote: Actually right now, I am using apm. I am not sure if acpi is supported on my notebook. This is an old PowerBook G4 500MHz. I will try modifying the scripts to use apm instead of acpi. If it's a PowerBook G4, then it's using PMU, not ACPI nor APM.

Re: [dwm] Proper way of monitoring battery level in DWM

2007-09-16 Thread James Turner
On Sep 16, 2007, at 4:34 PM, Amit wrote: Thank you for all the responses. Actually right now, I am using apm. I am not sure if acpi is supported on my notebook. This is an old PowerBook G4 500MHz. I will try modifying the scripts to use apm instead of acpi. Amit I just use something like

[dwm] [patch] Multihead Layout

2007-09-16 Thread Timothy Elliott
I often connect my laptop to an external monitor and use it to extend my desktop. This patch adds a new layout 'multihead' which uses Xrandr to detect the configuration of monitors, and adjusts window sizes accordingly. Here is my X screen layout: -- | | | | | |