Skip to content

Instantly share code, notes, and snippets.

@d8660091
Last active October 23, 2016 19:16
Show Gist options
  • Save d8660091/8c1dbaac0061245b6e3f to your computer and use it in GitHub Desktop.
Save d8660091/8c1dbaac0061245b6e3f to your computer and use it in GitHub Desktop.
xmobarrc
-- xmobar config used by Vic Fryzel
-- Author: Vic Fryzel
-- http://github.com/vicfryzel/xmonad-config
Config {
--font = "xft:Fixed-8",
font = "xft:Source Han Sans:size=9:bold:antialias=true",
fgColor = "#7F8C8D",
bgColor = "#000000",
position = Top,
border = NoBorder,
borderColor = "#000000",
allDesktops = True,
overrideRedirect = False,
commands = [
Run Weather "CYOW" ["-t","<tempC>","-L","64","-H","77","-n","#CEFFAC","-h","#FFB6B0","-l","#96CBFE"] 36000,
-- Run MultiCpu ["-t","Cpu: <total0> <total1> <total2> <total3>","-L","30","-H","60","-h","#FFB6B0","-l","#CEFFAC","-n","#FFFFCC","-w","3"] 10,
Run Memory ["-t","Mem: <usedratio>%","-H","8192","-L","4096","-h","#FFB6B0","-l","#CEFFAC","-n","#FFFFCC"] 10,
Run Network "wlp4s0" ["-t","Net: <rx>, <tx>","-H","200","-L","10","-h","#FFB6B0","-l","#CEFFAC","-n","#FFFFCC"] 10,
Run Date "%a %b %_d %l:%M" "date" 10,
-- Run Com "ruby" ["/home/xudeng/workspace/ruby/gmail_checker.rb"] "gmail" 600,
-- Run CommandReader "/home/xudeng/workspace/C/im_status/im_status" "im",
Run CommandReader "/home/xudeng/workspace/haskell/im_status/im_status" "im",
Run StdinReader,
Run DiskU [("/", "<used>/<size>")]
["-L", "20", "-H", "50", "-m", "1", "-p", "3"] 20
],
sepChar = "%",
alignSep = "}{",
template = "<fc=#FFFFFF>%im%</fc>} %StdinReader% {%wlp4s0% %memory% %disku% Temp:%CYOW% <fc=#FFFFCC>%date%</fc>"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment