summaryrefslogtreecommitdiff
path: root/xmonad/xmobarrc
blob: f81f60f3db224c2418f4d4d4adc2a172d61b9a1d (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:Sans-10:bold"
    , additionalFonts = ["xft:FontAwesome-11"]
    , 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","rx <rx> tx <tx>",
                                  "-L","100","-H","5000","--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 "%a %d %b %Y %H:%M:%S" "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", "30", "-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% - %eno1% KB/s <action=xterm -e htop><fn=1></fn> %multicpu% %coretemp%°C</action> <action=nvidia-settings><fn=1></fn> %gputemp%</action> <fn=1></fn> %memory% (%swap%) %disku% - <fc=#93a1a1>%date%</fc> <action=`pavucontrol`><fn=1></fn> </action><action=`systemctl suspend`><fn=1></fn></action>"
}