Skip to content

Instantly share code, notes, and snippets.

@pimeys
Created October 21, 2012 08:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pimeys/3926404 to your computer and use it in GitHub Desktop.
Save pimeys/3926404 to your computer and use it in GitHub Desktop.
Xmobar configuration
Config { font = "xft:Inconsolata:size=10:antialias=true"
, bgColor = "#002B36"
, fgColor = "grey"
, position = Top
, lowerOnStart = True
, commands = [ Run Com "/home/pimeys/.rvm/rubies/ruby-1.9.3-p194/bin/ruby /home/pimeys/.bin/weather.rb" [] "weather" 1000
, Run Cpu ["-L","3","-H","50","--normal","green","--high","red"] 10
, Run Memory ["-t","Mem: <usedratio>%"] 10
, Run Network "eth1" ["-L","0","-H","32","--normal","green","--high","red"] 10
, Run Com "sh /home/pimeys/.bin/wireless.sh" [] "wifi" 10
, Run Date "%a %b %_d %H:%M" "date" 10
, Run Com "/home/pimeys/.rvm/rubies/ruby-1.9.3-p194/bin/ruby /home/pimeys/.bin/bat.rb" [] "battery" 100
, Run StdinReader
]
, sepChar = "%"
, alignSep = "}{"
, template = "%StdinReader% }{ %wifi% | %cpu% | %memory% | %battery% <fc=#ee9a00>%date%</fc> | %weather%"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment