aboutsummaryrefslogtreecommitdiff
path: root/xmonad/xmobar.hs
blob: 4bba66b4ecf8df6d60989b14d2e40881107a758d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Config { font = "-*-Fixed-Bold-R-Normal-*-13-*-*-*-*-*-*-*"
       , bgColor = "black"
       , fgColor = "grey"
       , position = TopW L 90
       , additionalFonts = []
       , borderColor = "black"
       , border = TopB
       , alpha = 255
       , textOffset = -1
       , iconOffset = -1
       , lowerOnStart = True
       , pickBroadest = False
       , persistent = False
       , hideOnStart = False
       , iconRoot = "."
       , allDesktops = True
       , overrideRedirect = True
       , commands = [ Run Weather "EGPF" ["-t","<station>: <tempC>C",
                                          "-L","18","-H","25",
                                          "--normal","green",
                                          "--high","red",
                                          "--low","lightblue"] 36000
                    , Run Network "wlp2s0" ["-L","0","-H","32","--normal","green","--high","red"] 10

                    , Run Cpu ["-L","3","-H","50",
                               "--normal","green","--high","red"] 10
                    , Run Memory ["-t","Mem: <usedratio>%"] 10
                    , Run Swap [] 10
                    , Run Com "uname" ["-s","-r"] "" 36000
                    , Run Date "%a %b %_d %Y %H:%M:%S" "date" 10

                    , Run Battery [
	                      "-t", "<acstatus>: <left>% - <timeleft>",
	                      "--",
	                      --"-c", "charge_full",
	                      "-O", "AC",
	                      "-o", "Bat",
	                      "-h", "green",
	                      "-l", "red"
                    ] 10
                    , Run StdinReader
                    , Run CommandReader "/usr/bin/ledmon" "LED"
                    ]
       , sepChar = "%"
       , alignSep = "}{"
       , template = " <fc=#ee9a00>%date%</fc> | %battery% } { %memory% * %swap% | %cpu% | %wlp2s0% "
       }