summaryrefslogtreecommitdiffstats
path: root/xmobar.hs
blob: 86730d0291909eb5d320ccf7821d1c8c1cec131e (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
48
Config { font = "-misc-fixed-*-*-*-*-12-*-*-*-*-*-*-*"
--Config { font = "xfg:Noto Sans"
       , additionalFonts = []
       , borderColor = "black"
       , border = TopB
       , bgColor = "black"
       , fgColor = "grey"
       , alpha = 255
       , position = TopW R 95 
       -- , position = TopP 0 20
       , textOffset = -1
       , iconOffset = -1
       , lowerOnStart = True
       , pickBroadest = False
       , persistent = True
       , hideOnStart = False
       , iconRoot = "."
       , allDesktops = True
       , overrideRedirect = True
       , commands = [ Run Weather "LGTS" ["-t","Thess: <tempC>C, rh <rh>%",
                                          "-L","15","-H","25",
                                          "--normal","green",
                                          "--high","red",
                                          "--low","lightblue"] 36000
                    , Run Network "eth0" ["-L","0","-H","32",
                                          "--normal","green","--high","red"] 10
                    , Run Network "wlo1" ["-L","0","-H","32",
                                          "--normal","green","--high","red"] 10
                    , Run Cpu ["-L","3","-H","50",
                               "--normal","green","--high","red"] 10
                    , Run Battery ["-t","[<watts>]<leftbar>[<left>%]"] 30
                    , Run Memory ["-t","Mem: <usedratio>% <usedbar>"] 10
--                    , Run Com "uname" ["-s","-r"] "" 36000
                    , Run Date "%a %b %_d %Y %H:%M:%S" "date" 10
                    , Run Kbd [("us", "US"), ("gr", "GR")]
		    , Run StdinReader
                    ]
       , sepChar = "%"
       , alignSep = "}{"
       , template = "%StdinReader% }{ \
                    \<fc=#ab68bb>%/home/grm/.config/i3blocks/scripts/thevpn%</fc> %wlo1% - %eth0% | \
                    \%cpu% | \
                    \%/home/grm/.config/i3blocks/scripts/mumu% | \
                    \%memory% | \
                    \%LGTS% | \
                    \%battery% | \
                    \<fc=#ee9a00>%date%</fc> [ %kbd% ]"
       }