summaryrefslogtreecommitdiff
path: root/xmonad/xmobarrc
blob: 11b917b9f151587f81a5613c879aa96b9e81e8c1 (plain)
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
-- vim: set ft=haskell:
Config { 

      font            = "xft:Hack-12:bold"
    , additionalFonts = ["xft:Font Awesome 5 Free Solid-12"]
    , bgColor         = "#002b36" 
    , fgColor         = "#657b83"
    , position        = TopW L 95
    , lowerOnStart    = True
    , pickBroadest    = False
    , commands        = [

              Run StdinReader

            , Run MultiCpu ["-t","<total0> <total1> <total2> <total3> <total4> <total5> <total6> <total7>%",
                            "-L","10","-H","65","--low","#93a1a1","--normal","#268bd2","--high","#dc322f"] 10

            , Run Network "eno1" ["-t","r <rx> t <tx>",
                                  "-S","True","-L","1000000","-H","10000000","--low","#93a1a1","--normal","#268bd2","--high","#dc322f"] 10

            , Run Memory ["-t","<usedratio>%",
                          "-L","20","-H","60","--low","#93a1a1","--normal","#268bd2","--high","#dc322f"] 10

            , Run Swap ["-t","<usedratio>%",
                        "-L","1","-H","10","--low","#93a1a1","--normal","#b58900","--high","#dc322f"] 10

            , Run Date "<fn=1></fn> <fc=#93a1a1>%a %d %b %Y</fc> <action=hamster-time-tracker><fn=1></fn> <fc=#93a1a1>%H:%M:%S</fc></action>" "date" 10

            , Run DiskU [ ("/",           "root:<fc=#93a1a1><free></fc>"),
                          ("/mnt/sdd1",   "data:<fc=#93a1a1><free></fc>"),
                          ("/mnt/sdc2",   "bckp:<fc=#93a1a1><free></fc>"),
                          ("/mnt/win",    "fat:<fc=#93a1a1><free></fc>")] [] 20     

            , Run CoreTemp ["-t", "<core0> <core1> <core2> <core3>",
                            "-L", "40", "-H", "60", "-l", "#93a1a1", "-n", "#268bd2", "-h", "#dc322f"] 50

            , Run Com "/home/miguel/git/dotfiles/xmonad/checkmail.sh" [] "mymails" 30
            , Run Com "/home/miguel/git/dotfiles/xmonad/nvidia-temp.sh" [] "gputemp" 30

            ]

    , sepChar   = "%"
    , alignSep  = "}{"
    , template  = "%StdinReader%}{%mymails% <action=xterm -e sudo iftop><fn=1></fn> %eno1% </action><action=xterm -e htop><fn=1></fn> %multicpu% <fn=1></fn> %coretemp%°C</action> <action=nvidia-settings><fn=1></fn> %gputemp%</action> <fn=1></fn> %memory% (%swap%) <fn=1></fn> %disku% %date% <action=`pavucontrol`><fn=1></fn> </action><action=`systemctl suspend`><fn=1></fn></action>"
}