Re: Statusbar hides text
[email protected] (Michaël Cadilhac)
| Newsgroups | gmane.comp.window-managers.ion.general |
|---|---|
| Organization | Epita/LRDE |
| Message-ID | <[email protected]> |
James Stanley <[email protected]> writes: > Is it possible to use the built-in date monitor to update every second? You can do something like that : ------------------------------------------------------------------------ ... template="[%hour]" ... local hour_timer = nil local function update_hour() mod_statusbar.inform("hour", os.date("%H:%M:%S")) mod_statusbar.update() hour_timer:set(1000, update_hour) end hour_timer = ioncore.create_timer() update_hour() ------------------------------------------------------------------------ -- | Michaël `Micha' Cadilhac | One user is enough. | | http://michael.cadilhac.name | People suck. | | JID/MSN: | | `---- [email protected] | -- Tuomo Valkonen - --'
signature.asc
(application/pgp-signature, 188 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.5 (GNU/Linux) iD8DBQFGzX/VUJhDmOfFA3URAly/AKC0nio1y23chF/9Pf4AVt03Yfro8QCffIwo EDI5e9kaM4lPPwUozrmbdbA= =vPlf -----END PGP SIGNATURE-----