diff options
author | Andrea Rossato <andrea.rossato@ing.unitn.it> | 2007-07-11 17:02:21 +0200 |
---|---|---|
committer | Andrea Rossato <andrea.rossato@ing.unitn.it> | 2007-07-11 17:02:21 +0200 |
commit | 8cfbc58a3928734cb58888813184ebeef56fe226 (patch) | |
tree | 9f6d99c50229da7493bc891c0f27dbf2c102cbb5 | |
parent | edb2ea166d227ea7c4bf12b33016ee82ed73543d (diff) | |
download | xmobar-8cfbc58a3928734cb58888813184ebeef56fe226.tar.gz xmobar-8cfbc58a3928734cb58888813184ebeef56fe226.tar.bz2 |
some colors please!
Krzysztof says that we cannot set default colors without embedding a
Turing-complete language in the templates, so that we can take account of
different unit of measurement. May I set some colors in the configuration
example??
darcs-hash:20070711150221-d6583-73c159082843e2120c060aa50be65b58bb7fc9f4.gz
-rw-r--r-- | xmobar.config-sample | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmobar.config-sample b/xmobar.config-sample index 51c912b..4a0cade 100644 --- a/xmobar.config-sample +++ b/xmobar.config-sample @@ -7,10 +7,10 @@ Config { font = "-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*" , height = 15 , align = "right" , refresh = 10 - , commands = [ (Weather "EGPF" ["-t","<station>: <tempC>C"], 36000) - , (Network "eth0" [], 10) - , (Network "eth1" [], 10) - , (Cpu [], 10) + , commands = [ (Weather "EGPF" ["-t","<station>: <tempC>C","-L","18","-H","25","--normal","green","--high","red","--low","blue"], 36000) + , (Network "eth0" ["-L","0","-H","32","--normal","green","--high","red"], 10) + , (Network "eth1" ["-L","0","-H","32","--normal","green","--high","red"], 10) + , (Cpu ["-L","3","-H","50","--normal","green","--high","red"], 10) , (Exec "date" ["+\"%a %b %_d %H:%M\""] "mydate", 600) , (Exec "date" ["+%Y"] "year", 304128000) , (Memory ["-t","Mem: <usedratio>%"], 10) |