From 63254c778f70091b9fa85fae1c6f96d5dde560bf Mon Sep 17 00:00:00 2001 From: Andrea Rossato Date: Tue, 24 Jul 2007 15:16:58 +0200 Subject: README: some more editing darcs-hash:20070724131658-d6583-957b9070c8a4478af76b79f20b91817b5641fb05.gz --- README | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) (limited to 'README') diff --git a/README b/README index 0e5a849..d17190a 100644 --- a/README +++ b/README @@ -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: %"] 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 ====== -- cgit v1.2.3