Played with xmobar.

This commit is contained in:
Derek Taylor 2019-10-08 17:50:26 -05:00
parent 3801e529f1
commit dd38998030
3 changed files with 14 additions and 10 deletions

View File

@ -3,6 +3,7 @@
-- you can find weather location codes here: http://weather.noaa.gov/index.html
Config { font = "xft:Mononoki Nerd Font:pixelsize=12:antialias=true:hinting=true"
, additionalFonts = [ "xft:FontAwesome:pixelsize=13" ]
, bgColor = "#282A36"
, fgColor = "#B45BCF"
, position = Top
@ -10,10 +11,11 @@ Config { font = "xft:Mononoki Nerd Font:pixelsize=12:antialias=true:hinting=t
, hideOnStart = False
, allDesktops = True
, persistent = True
, commands = [ Run Date "%a %b %_d %Y %H:%M:%S" "date" 10
, iconRoot = "/home/dt/.xmonad/xpm/" -- default: "."
, commands = [ Run Date "%a, %b %d %Y, %H:%M:%S" "date" 10
, Run UnsafeStdinReader
]
, sepChar = "%"
, alignSep = "}{"
, template = "%UnsafeStdinReader% }{ <fc=#A0522D> <fc=#fdf6e3>%date%</fc> </fc> "
, template = "%UnsafeStdinReader% }{ <fc=#A0522D> <icon=calendar-clock-icon_20.xpm/> <fc=#8BE9FD>%date%</fc> </fc> "
}

View File

@ -3,6 +3,7 @@
-- you can find weather location codes here: http://weather.noaa.gov/index.html
Config { font = "xft:Mononoki Nerd Font:pixelsize=12:antialias=true:hinting=true"
, additionalFonts = [ "xft:FontAwesome:pixelsize=13" ]
, bgColor = "#282A36"
, fgColor = "#B45BCF"
, position = Top
@ -10,10 +11,11 @@ Config { font = "xft:Mononoki Nerd Font:pixelsize=12:antialias=true:hinting=t
, hideOnStart = False
, allDesktops = True
, persistent = True
, commands = [ Run Date "%a %b %_d %Y %H:%M:%S" "date" 10
, iconRoot = "/home/dt/.xmonad/xpm/" -- default: "."
, commands = [ Run Date "%a, %b %d %Y, %H:%M:%S" "date" 10
, Run UnsafeStdinReader
]
, sepChar = "%"
, alignSep = "}{"
, template = "%UnsafeStdinReader% }{ <fc=#A0522D> <fc=#fdf6e3>%date%</fc> </fc> "
, template = "%UnsafeStdinReader% }{ <fc=#A0522D> <icon=calendar-clock-icon_20.xpm/> <fc=#8BE9FD>%date%</fc> </fc> "
}

View File

@ -12,14 +12,14 @@ Config { font = "xft:Mononoki Nerd Font:pixelsize=12:antialias=true:hinting=t
, allDesktops = True
, persistent = True
, iconRoot = "/home/dt/.xmonad/xpm/" -- default: "."
, commands = [ Run Date "%a %b %_d %Y %H:%M:%S" "date" 10
, Run Network "enp4s0" ["-t", "<icon=network-icon_24.xpm/> net: <rx>kb|<tx>kb"] 10
, Run Cpu ["-t","<icon=gnome_cpu_24.xpm/> cpu: <total>%","-H","50","--high","red"] 10
, Run Memory ["-t", "<icon=memory-icon_24.xpm/> mem: <usedratio>%"] 10
, Run DiskU [("/","<icon=harddisk-icon_24.xpm/> hdd: <used>/<size>")] [] 3600
, commands = [ Run Date "%a, %b %d %Y, %H:%M:%S" "date" 10
, Run Network "enp4s0" ["-t", "<icon=net_up_20.xpm/>up <rxbar> <icon=net_down_20.xpm/>dn <txbar>"] 10
, Run Cpu ["-t", "<icon=cpu_20.xpm/> cpu <bar> (<total>%)","-H","50","--high","red"] 10
, Run Memory ["-t", "<icon=memory-icon_20.xpm/> mem <usedbar> (<usedratio>%)"] 10
, Run DiskU [("/", "<icon=harddisk-icon_20.xpm/> hdd <usedbar> (<used>)")] [] 3600
, Run UnsafeStdinReader
]
, sepChar = "%"
, alignSep = "}{"
, template = "%UnsafeStdinReader% }{ <fc=#A0522D> <fc=#FFB86C>%cpu%</fc> : <fc=#FF5555>%memory%</fc> : <fc=#82AAFF>%disku%</fc> : <fc=#c3e88d>%enp4s0%</fc> : <icon=calendar-clock-icon_24.xpm/> <fc=#8BE9FD>%date%</fc> </fc> "
, template = "%UnsafeStdinReader% }{ <fc=#A0522D> <fc=#FFB86C>%cpu%</fc> <fc=#FF5555>%memory%</fc> <fc=#82AAFF>%disku%</fc> <fc=#c3e88d>%enp4s0%</fc> <icon=calendar-clock-icon_20.xpm/> <fc=#8BE9FD>%date%</fc> </fc> "
}