diff options
author | Andrea Rossato <andrea.rossato@ing.unitn.it> | 2007-07-24 15:16:58 +0200 |
---|---|---|
committer | Andrea Rossato <andrea.rossato@ing.unitn.it> | 2007-07-24 15:16:58 +0200 |
commit | 63254c778f70091b9fa85fae1c6f96d5dde560bf (patch) | |
tree | 7a500f927d9cabd34739dc29aaf9090aab84e5d5 | |
parent | 8f449586fcfc8f70603cf7017cf38d3d03e58d31 (diff) | |
download | xmobar-63254c778f70091b9fa85fae1c6f96d5dde560bf.tar.gz xmobar-63254c778f70091b9fa85fae1c6f96d5dde560bf.tar.bz2 |
README: some more editing
darcs-hash:20070724131658-d6583-957b9070c8a4478af76b79f20b91817b5641fb05.gz
-rw-r--r-- | README | 27 |
1 files changed, 16 insertions, 11 deletions
@@ -80,9 +80,10 @@ template: The output template Command Line Options -------------------- -Xmobar can be either configure with a configuration file or with +Xmobar can be either configured with a configuration file or with command line options. In the second case, the command line options -will overwrite any options set in the configuration file. +will overwrite the corresponding options set in the configuration +file. Example: xmobar -B white -a right -F blue -t '%LIPB%' -c '[Run Weather "LIPB" [] 36000]' @@ -134,12 +135,16 @@ Each member of the list consists in a command prefixed by the "Run" keyword. Each command has arguments to control the way Xmobar is going to execute it. -This only internal available command is Com (see below Executing -External Commands). +The option consists in a list of commands separated by a comma and +enclosed by square parenthesis. Example: -By default Xmobar comes with a plugin consisting in a set of system -monitors. This plugins installs the following internal command: -Weather, Network, Memory, Swap, Cpu, Battery. +[Run Memory ["-t","Mem: <usedratio>%"] 10, Run Swap [] 10] + +The only internal available command is Com (see below Executing +External Commands). But by default Xmobar comes with a plugin +consisting in a set of system monitors. This plugin installs the +following internal commands: Weather, Network, Memory, Swap, Cpu, +Battery. To remove them see below Installing/Removing a Plugin @@ -315,19 +320,19 @@ That's it. To remove a plugin, just remove its type from the type signature of runnableTypes and remove the imported modules. -To remove the system monitor plugin you need: +To remove the system monitor plugin: -1. remove the line +1. remove, from Config.hs, the line import Plugins.Monitors -2. change +2. in Config.hs change runnableTypes :: (Command,(Monitors,())) runnableTypes = undefined to runnableTypes :: (Command,()) runnableTypes = undefined -3. rebuild. +3. rebuild Xmobar. AUTHOR ====== |