[PATCH 2/2] desktop-shell: Make clock format configurable, weston.ini

Scott Moreau oreaus at gmail.com
Wed Jun 13 10:23:00 PDT 2012


On Wed, Jun 13, 2012 at 8:10 AM, Martin Minarik <
minarik11 at student.fiit.stuba.sk> wrote:

> This is the configuration file entry.
> ---
>  weston.ini |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/weston.ini b/weston.ini
> index 7693253..911353a 100644
> --- a/weston.ini
> +++ b/weston.ini
> @@ -27,6 +27,10 @@ path=/usr/bin/google-chrome
>  icon=/usr/share/icons/gnome/24x24/apps/arts.png
>  path=./clients/flower
>
> +[clock]
> +format=%a %b %d, %I:%M %p
> +interval=60
> +
>

This format should probably be used as the hard coded default. The entry
here can be commented out, to serve as an example.


>  [screensaver]
>  #path=./clients/wscreensaver
>  duration=600
> --
> 1.7.5.4
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20120613/c90badfc/attachment.htm>


More information about the wayland-devel mailing list