summaryrefslogtreecommitdiffhomepage
path: root/README
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2011-06-02 04:14:01 -0700
committerjao <jao@gnu.org>2011-06-02 04:14:01 -0700
commitd1a84931665cce88108088fd1e4d35d8658e6f5e (patch)
tree707d5e7fb0318d5a156b768a23346ca5b0e6ee3c /README
parent21b6a84953c2fab5d48dc4bfe481a208c100b850 (diff)
parent63847f5b585e0fb5f19812ce9b5ddaa257b359b7 (diff)
downloadxmobar-d1a84931665cce88108088fd1e4d35d8658e6f5e.tar.gz
xmobar-d1a84931665cce88108088fd1e4d35d8658e6f5e.tar.bz2
Merge pull request #15 from skinner33/master
Brightness Monitor Plugin
Diffstat (limited to 'README')
-rw-r--r--README18
1 files changed, 18 insertions, 0 deletions
diff --git a/README b/README
index 925c1aa..f8ecc83 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