summaryrefslogtreecommitdiffhomepage
path: root/xmobar.config-sample
blob: 4a0cade73b03c3d6ed8ee84cda330942ff1a4111 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Config { font = "-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*"
       , bgColor = "black"
       , fgColor = "grey"
       , xPos = 0
       , yPos = 0
       , width = 1024
       , height = 15
       , align = "right"
       , refresh = 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)
                    , (Swap [], 10)
                    , (Exec "uname" ["-s","-r"] "", 36000)
                    ]
       , sepChar = "%"
       , template = "%cpu% | %memory% * %swap% | %eth0% - %eth1% | %EGPF% | <fc=#ee9a00>%mydate% of %year%</fc> %uname%"
       }