On Wed, 21 Jan 2015, Lucio Chiappetti wrote:

2) I want to keep the current date on the screen (and time as well, but
   time is no problem)

   Is there a smart way to have a button periodically refresh its
   content ?

thanks to the previous hint to SendToModule ... ChangeButton my solution is to run via crontab at midnight the following two line shell script

set a = `date "+%a %b %d"`
/usr/bin/FvwmCommand "SendToModule MyBox ChangeButton myDate Title '$a[1] $a[2] $a[3]'"


--
------------------------------------------------------------------------
Lucio Chiappetti - INAF/IASF - via Bassini 15 - I-20133 Milano (Italy)
For more info : http://www.iasf-milano.inaf.it/~lucio/personal.html
------------------------------------------------------------------------
Do not like Firefox >=29 ?  Get Pale Moon !  http://www.palemoon.org

Reply via email to