diff options
author | Martin Perner <martin@perner.cc> | 2011-04-04 21:33:22 +0200 |
---|---|---|
committer | Martin Perner <martin@perner.cc> | 2011-04-04 22:22:00 +0200 |
commit | 89bee7551a7845eb974bac2346a522348fcab6ec (patch) | |
tree | 1aaf5fe0c197f526e5a13137bbb7f30303447a75 /README | |
parent | a6043e7831d941a03d098552bda9b824247c4715 (diff) | |
download | xmobar-89bee7551a7845eb974bac2346a522348fcab6ec.tar.gz xmobar-89bee7551a7845eb974bac2346a522348fcab6ec.tar.bz2 |
Added brightness monitor
Diffstat (limited to 'README')
-rw-r--r-- | README | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -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 |