From 52dc372a9f41fcba6ed9179d089dc86e610e75a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sun, 21 Apr 2019 21:08:12 +0200 Subject: [PATCH] doc: module: backlight: example --- doc/f00bar-modules.5.scd | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/f00bar-modules.5.scd b/doc/f00bar-modules.5.scd index 873daac..a1dd080 100644 --- a/doc/f00bar-modules.5.scd +++ b/doc/f00bar-modules.5.scd @@ -113,6 +113,17 @@ _/sys/class/backlight_, and uses *udev* to monitor for changes. : yes : The backlight device's name (one of the names in _/sys/class/backlight_) +## EXAMPLES + +``` +bar: + left: + - backlight: + name: intel_backlight + content: + string: {text: "backlight: {percent}%"} +``` + # SEE ALSO *f00bar-particles*(5), *f00bar-tags*(5), *f00bar-decorations*(5)