From d433166f0bb3e1d7e8da20c1d9007bee2b39e522 Mon Sep 17 00:00:00 2001 From: Jochen Keil Date: Sat, 11 Aug 2012 21:56:12 +0200 Subject: Add sample option for persistent and update option description Description for lowerOnStart was missing. --- readme.md | 8 ++++++++ samples/xmobar.config | 1 + 2 files changed, 9 insertions(+) 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",": 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 -- cgit v1.2.3