summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJochen Keil <jochen.keil@gmail.com>2012-08-11 21:56:12 +0200
committerJochen Keil <jochen.keil@gmail.com>2012-08-11 21:56:12 +0200
commitd433166f0bb3e1d7e8da20c1d9007bee2b39e522 (patch)
tree74dcb5331a7d5ba1e31c4f0cf0cc79c56b51699b
parent2af5fab3c8df61ec189bcc880524fe73a6e1e361 (diff)
downloadxmobar-d433166f0bb3e1d7e8da20c1d9007bee2b39e522.tar.gz
xmobar-d433166f0bb3e1d7e8da20c1d9007bee2b39e522.tar.bz2
Add sample option for persistent and update option description
Description for lowerOnStart was missing.
-rw-r--r--readme.md8
-rw-r--r--samples/xmobar.config1
2 files changed, 9 insertions, 0 deletions
diff --git a/readme.md b/readme.md
index 5fba067..6fb6ef2 100644
--- a/readme.md
+++ b/readme.md
@@ -221,6 +221,14 @@ Other configuration options:
: position = Top
+`lowerOnStart`
+: When True the window is initially hidden (can be toggled)
+
+`persistent`
+: When True the window status is fixed i.e. hiding or revealing is not
+ possible. This option can be toggled at runtime.
+
+
`border`
: TopB, TopBM, BottomB, BottomBM, FullB, FullBM or NoBorder (default).
diff --git a/samples/xmobar.config b/samples/xmobar.config
index 1e41945..faf6ac6 100644
--- a/samples/xmobar.config
+++ b/samples/xmobar.config
@@ -5,6 +5,7 @@ Config { font = "-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*"
, fgColor = "grey"
, position = Top
, lowerOnStart = True
+ , persistent = False
, commands = [ Run Weather "EGPF" ["-t","<station>: <tempC>C","-L","18","-H","25","--normal","green","--high","red","--low","lightblue"] 36000
, Run Network "eth0" ["-L","0","-H","32","--normal","green","--high","red"] 10
, Run Network "eth1" ["-L","0","-H","32","--normal","green","--high","red"] 10