summaryrefslogtreecommitdiffhomepage
path: root/README
diff options
context:
space:
mode:
authorMartin Perner <martin@perner.cc>2011-04-04 21:33:22 +0200
committerMartin Perner <martin@perner.cc>2011-04-04 22:22:00 +0200
commit89bee7551a7845eb974bac2346a522348fcab6ec (patch)
tree1aaf5fe0c197f526e5a13137bbb7f30303447a75 /README
parenta6043e7831d941a03d098552bda9b824247c4715 (diff)
downloadxmobar-89bee7551a7845eb974bac2346a522348fcab6ec.tar.gz
xmobar-89bee7551a7845eb974bac2346a522348fcab6ec.tar.bz2
Added brightness monitor
Diffstat (limited to 'README')
-rw-r--r--README18
1 files changed, 18 insertions, 0 deletions
diff --git a/README b/README
index 925c1aa..9294586 100644
--- a/README
+++ b/README
@@ -677,6 +677,24 @@ Monitors have default aliases.
distribution can be used to set the given property from the output
of any other program or script.
+`Brightness Args RefreshRate`
+
+- Aliases to `bright`
+- Args: default monitor arguments (see below), plus the following specif ones:
+ - `-D`: directory in `/sys/class/backlight/` with files in it
+ (default: "acpi_video0")
+ - `-C`: file with the current brightness (default:
+ actual_brightness)
+ - `-M`: file with the maximum brightness (default:
+ max_brigtness)
+- Variables that can be used with the `-t`/`--template` argument:
+ `hbar`, `percent`, `bar`
+- Default template: `<percent>%`
+- Example:
+
+ Run Brightness ["-t", "<bar>"] 60
+
+
[samples/xmonadpropwrite.hs script]: https://github.com/jaor/xmobar/raw/master/samples/xmonadpropwrite.hs
## Monitor Plugins Commands Arguments