From d78522b9fc75540d9671ddabad2deb142db88f13 Mon Sep 17 00:00:00 2001 From: Alexander Polakov Date: Wed, 13 Mar 2013 21:03:55 +0400 Subject: Add action example --- readme.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/readme.md b/readme.md index f90be83..e3ee373 100644 --- a/readme.md +++ b/readme.md @@ -190,6 +190,8 @@ For the output template: - `` will insert the given bitmap. +- `` will execute given command. + Other configuration options: `font` @@ -439,6 +441,12 @@ form: which will produce the expected result. +It's also possible to use action directives of the form: + + + +which will be executed when clicked on. + ## The `commands` Configuration Option The `commands` configuration option is a list of commands information @@ -460,6 +468,10 @@ an example of a template for the commands above using an icon: template=" " +Action example: + + template="%date% + The only internal available command is `Com` (see below Executing External Commands). All other commands are provided by plugins. xmobar comes with some plugins, providing a set of system monitors, a -- cgit v1.2.3