docs(config): Added example with xtitle

This commit is contained in:
Michael Carlberg 2016-06-01 15:12:27 +02:00
parent af6ef01ea6
commit 4cbd53810b
1 changed files with 15 additions and 0 deletions

View File

@ -811,6 +811,21 @@ is not fully functional yet. If you notice any other anomalies, please [create a
scroll:down = echo scroll down %counter%
~~~
##### Useful example
Show title of the currently focused window.
~~~ ini
[module/xtitle]
type = custom/script
exec = xtitle
interval = 0.25
format = <output>
format-background = #999
format-foreground = #000
format-padding = 4
~~~
### Module `custom/text`
~~~ ini