summaryrefslogtreecommitdiff
path: root/modules/home/xmobar/xmobarrc
blob: 31851123fba39b1d501a95a31eabc0b335f0da4c (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
Config
  { font        = "Monospace"
  , borderColor = "#d0d0d0"
  , border      = FullB
  , borderWidth = 1
  , bgColor     = "#222"
  , fgColor     = "grey"
  , position    = TopH 30
  , commands    =
      [ Run Cpu ["-t", "cpu: <fc=#4eb4fa><bar> <total>%</fc>"] 10
      , Run Network "wlan0" ["-S", "True", "-t", "wlan: <fc=#4eb4fa><rx></fc>/<fc=#4eb4fa><tx></fc>"] 10
      , Run Memory ["-t","mem: <fc=#4eb4fa><usedbar> <usedratio>%</fc>"] 10
      , Run Date "date: <fc=#4eb4fa>%a %d %b %Y %I:%M:%S %p </fc>" "date" 10
      , Run Battery
        ["-t", "bat: <leftbar> <left> <watts>",
         "-L", "10", "-H", "80", "-S", "True",
         "-l", "red", "-n", "#4eb4fa", "-h", "green",
         "--",
         "-L", "-15", "-H", "-5",
         "-l", "red", "-m", "#4eb4fa", "-h", "green"]
        600
      ]
  , sepChar     = "%"
  , alignSep    = "}{"
  , template    = "  %battery% | %cpu% | %memory% | %wlan0%  }{%date%  "
}