On Dec 16, 2008, at 10:48 AM, Guillaume Quintin wrote:
> On Tue, 16 Dec 2008 12:38:17 -0500
> Jeremy Jay <dinkumator_AT_gmail.com> wrote:
>
>> Here's some simple C code I wrote to handle setting the
>> xprop without using xsetroot. At the moment it just
>> spawns the same shell scripts I used before, but it may
>> be useful for those having issues with xsetroot...
>>
>
> IMHO it is too complicated. Moreover that's exactly the solution
> I proposed some days ago but mine was simplier and within dwm.c. This
> will not satisfy Donald Chai :
>
> Donald Chai wrote in a previous post :
> My status text includes the weather (updated only every 15min to
> avoid hammering their servers), and the time (updated once a minute,
> on the minute, to reduce my wakeups-per-second in PowerTOP). For me,
> this SIGALRM and spawn2 would require that I store some temporary
> data somewhere between invocations.
It satisfies me just fine. :)
My argument was against calling some status program every second from
dwm. I prefer to have a persistent (custom) status program that
specifies its own sleep behavior, and which communicates to dwm over a
persistent channel (was stdin, is now X11).
Jeremy's code wakes up every 2 seconds, and that's OK, I'm not forced
to use his status program. His intent is that anyone who can't figure
out xsetroot can use 4 X11 procedures from C.
Received on Wed Dec 17 2008 - 00:08:40 UTC
This archive was generated by hypermail 2.2.0 : Wed Dec 17 2008 - 00:12:04 UTC