aboutsummaryrefslogtreecommitdiff
path: root/xmobarrc
blob: 5358b39a668990fb04126c943f5b8cf789a3062a (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
Config
   { font = "xft:Ubuntu Mono:size=14"
   , additionalFonts = ["xft:Lato:style=bold"]        -- default: []
   , borderColor = "#000000"
   , border = BottomB
   , borderWidth = 2
   , bgColor = "black"
   , fgColor = "white"
   , alpha = 210                 -- default: 255
   , position = TopSize C 100 50
   , textOffset = -1             -- default: -1
   , iconOffset = -1             -- default: -1
   , lowerOnStart = True
   , pickBroadest = False        -- default: False
   , persistent = True
   , hideOnStart = False
   , iconRoot = "/usr/local/google/home/rahm/.xmonad/resources"  -- default: "."
   , allDesktops = True          -- default: True
   , overrideRedirect = False    -- default: True
   , sepChar = "%"
   , alignSep = "}{"
   , template = "     %StdinReader% }{<fc=#404040>   ────   </fc><fc=#ffffff>%battery%</fc>    <fc=#404040>────</fc>    <fc=#8888ff>%date%</fc>     "
   , commands = [
     Run Battery [ "--template" , "<fn=1><acstatus></fn>"
                 , "--Low"      , "10"        -- units: %
                 , "--High"     , "80"        -- units: %
                 , "--low"      , "darkred"
                 , "--normal"   , "darkorange"
                 , "--high"     , "darkgreen"

                 , "--" -- battery specific options
                           -- discharging status
                           , "-o"	, "<left>% - <timeleft>"
                           -- AC "on" status
                           , "-O"	, "<fc=#dAA520>Charging</fc>"
                           -- charged status
                           , "-i"	, "<fc=#006000>Charged</fc>"
                 ] 50,
       Run StdinReader
     ]
   }