From 4cbd53810b2d81a948cd5ca7236b18d2ffbcdafd Mon Sep 17 00:00:00 2001 From: Michael Carlberg Date: Wed, 1 Jun 2016 15:12:27 +0200 Subject: [PATCH] docs(config): Added example with xtitle --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 2ae2a50f..c8ebd8a0 100644 --- a/README.md +++ b/README.md @@ -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 = + format-background = #999 + format-foreground = #000 + format-padding = 4 + ~~~ ### Module `custom/text` ~~~ ini