-- http://projects.haskell.org/xmobar/ -- install xmobar with these flags: --flags="with_alsa" --flags="with_mpd" --flags="with_xft" OR --flags="all_extensions" -- 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", "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:hinting=true" ] , bgColor = "#292d3e" , fgColor = "#B45BCF" , position = Static { xpos = 1920 , ypos = 0, width = 1920, height = 24 } , lowerOnStart = True , hideOnStart = False , allDesktops = True , persistent = True , iconRoot = "/home/dt/.xmonad/xpm/" -- default: "." , commands = [ -- Time and date Run Date "\xf133 %b %d %Y (%H:%M)" "date" 50 -- Network up and down , Run Network "enp6s0" ["-t", "\xf0aa kb \xf0ab kb"] 20 -- Cpu usage in percent , Run Cpu ["-t", "\xf108 cpu: (%)","-H","50","--high","red"] 20 -- Ram used number and percent , Run Memory ["-t", "\xf233 mem: M (%)"] 20 -- Disk space free , Run DiskU [("/", "\xf0c7 hdd: free")] [] 60 -- Runs custom script to check for pacman updates. -- This script is in my dotfiles repo in .local/bin. , Run Com "pacupdate" [] "" 36000 -- Runs a standard shell command 'uname -r' to get kernel version , Run Com "uname" ["-r"] "" 3600 -- Script that dynamically adjusts xmobar padding depending on number of trayer icons. , Run Com "/home/dt/.config/xmobar/trayer-padding-icon.sh" [] "trayerpad" 20 -- Prints out the left side items such as workspaces, layout, etc. -- The workspaces are 'clickable' in my configs. , Run UnsafeStdinReader ] , sepChar = "%" , alignSep = "}{" , template = " | %UnsafeStdinReader% }{ |  %uname% | %cpu% | %memory% | %disku% | %enp6s0% |  %pacupdate%| %date% |%trayerpad%" }