On Sun, Aug 17, 2014 at 12:04:52PM +0100, Jamie Griffin wrote:
> Yeah that's it. The other thing I just thought of, is as I only want the
> current day number and month, I don't need the text to be updated during the
> existence of the fvwmbuttons dock; so, when it starts, the command in the
> function is run to get the day/month and set in the button so i'm assuming
> that wouldn't exhaust piperead so much. Do you think, then, using piperead
> might be better?

Seems somewhat pointless to me, but if that's what you want to do, then
yes, PipeRead would suffice there.  Be aware that if you're still awake
past midnight and fvwm is still running, don't rely on your calendar
thing to accurately reflect the date or time.  ;)

You do appreciate that projects like fvwm-themes already predefine
fvwmscript instances of a calendar, etc.?  Have you considered just
using one of those?  Hence:

https://raw.githubusercontent.com/ThomasAdam/fvwm-themes/master/scripts/FvwmApplet-DayClock
https://raw.githubusercontent.com/ThomasAdam/fvwm-themes/master/scripts/FvwmApplet-DayClock

-- Thomas Adam

-- 
"Deep in my heart I wish I was wrong.  But deep in my heart I know I am
not." -- Morrissey ("Girl Least Likely To" -- off of Viva Hate.)

Reply via email to