summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMartin Perner <martin@perner.cc>2011-04-05 23:54:02 +0200
committerMartin Perner <martin@perner.cc>2011-04-05 23:54:02 +0200
commit41fa766599e061dec240aced32b2444e631d6b60 (patch)
treeeaf468ea4bcf7734d84c2caa68ba2fcfb9017cbf
parent89bee7551a7845eb974bac2346a522348fcab6ec (diff)
downloadxmobar-41fa766599e061dec240aced32b2444e631d6b60.tar.gz
xmobar-41fa766599e061dec240aced32b2444e631d6b60.tar.bz2
Bright Monitor: Didn't made use of -S
-rw-r--r--README2
-rw-r--r--src/Plugins/Monitors/Bright.hs2
2 files changed, 2 insertions, 2 deletions
diff --git a/README b/README
index 9294586..f8ecc83 100644
--- a/README
+++ b/README
@@ -689,7 +689,7 @@ Monitors have default aliases.
max_brigtness)
- Variables that can be used with the `-t`/`--template` argument:
`hbar`, `percent`, `bar`
-- Default template: `<percent>%`
+- Default template: `<percent>`
- Example:
Run Brightness ["-t", "<bar>"] 60
diff --git a/src/Plugins/Monitors/Bright.hs b/src/Plugins/Monitors/Bright.hs
index 36009a6..4cbbfa4 100644
--- a/src/Plugins/Monitors/Bright.hs
+++ b/src/Plugins/Monitors/Bright.hs
@@ -53,7 +53,7 @@ sysDir = "/sys/class/backlight/"
brightConfig :: IO MConfig
brightConfig = mkMConfig
- "<percent>%" -- template
+ "<percent>" -- template
["hbar", "percent", "bar"] -- replacements
data Files = Files