Difference between revisions of "Xmonad/Config archive/thoughtpolice's xmobarrc"

From HaskellWiki
Jump to navigation Jump to search
(Deleting page that hasn't been edited for over 10 years)
m (Reverted edits by Tomjaguarpaw (talk) to last revision by Thoughtpolice)
 
Line 1: Line 1:
  +
<haskell>Config { font = "-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*"
  +
, bgColor = "black"
  +
, fgColor = "grey"
  +
, position = Bottom
  +
, lowerOnStart = True
  +
, commands = [ Run Weather "KMCJ" ["-t","<station>: <tempC>C","-L","18","-H","25","--normal","green","--high","red","--low","lightblue"] 36000
  +
, Run Network "eth0" ["-L","0","-H","32","--normal","green","--high","red"] 10
  +
, Run Network "eth1" ["-L","0","-H","32","--normal","green","--high","red"] 10
  +
, Run Cpu ["-L","3","-H","50","--normal","green","--high","red"] 10
  +
, Run Memory ["-t","Mem: <usedratio>%"] 10
  +
, Run Swap [] 10
  +
, Run Com "uname" ["-s","-r"] "" 36000
  +
, Run Date "%a %b %_d %Y %H:%M:%S" "date" 10
  +
]
  +
, sepChar = "%"
  +
, alignSep = "}{"
  +
, template = "%cpu% | %memory% * %swap% | %eth0% - %eth1% }{ <fc=#ee9a00>%date%</fc>| %KMCJ% | %uname%"
  +
}
  +
</haskell>

Latest revision as of 15:18, 6 February 2021

Config { font = "-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*"
       , bgColor = "black"
       , fgColor = "grey"
       , position = Bottom
       , lowerOnStart = True
       , commands = [ Run Weather "KMCJ" ["-t","<station>: <tempC>C","-L","18","-H","25","--normal","green","--high","red","--low","lightblue"] 36000
                    , Run Network "eth0" ["-L","0","-H","32","--normal","green","--high","red"] 10
                    , Run Network "eth1" ["-L","0","-H","32","--normal","green","--high","red"] 10
                    , Run Cpu ["-L","3","-H","50","--normal","green","--high","red"] 10
                    , Run Memory ["-t","Mem: <usedratio>%"] 10
                    , Run Swap [] 10
                    , Run Com "uname" ["-s","-r"] "" 36000
    		    , Run Date "%a %b %_d %Y %H:%M:%S" "date" 10
                    ]
       , sepChar = "%"
       , alignSep = "}{"
       , template = "%cpu% | %memory% * %swap% | %eth0% - %eth1% }{ <fc=#ee9a00>%date%</fc>| %KMCJ% | %uname%"
       }