dwt1--dotfiles/.config/xmobar/xmobarrc0

41 lines
2.6 KiB
Plaintext
Raw Normal View History

2019-01-15 21:27:01 +00:00
-- 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
2020-07-12 15:52:51 +00:00
Config { font = "xft:Ubuntu:weight=bold:pixelsize=11:antialias=true:hinting=true"
, additionalFonts = [ "xft:Mononoki Nerd Font:pixelsize=11:antialias=true:hinting=true"
, "xft:FontAwesome:pixelsize=13"
]
2020-09-29 21:28:27 +00:00
, bgColor = "#282c34"
, fgColor = "#ff6c6b"
2020-07-04 16:36:50 +00:00
, position = Static { xpos = 0 , ypos = 0, width = 1920, height = 24 }
2019-01-15 21:27:01 +00:00
, lowerOnStart = True
, hideOnStart = False
, allDesktops = True
, persistent = True
2020-02-17 06:07:06 +00:00
, iconRoot = "/home/dt/.xmonad/xpm/" -- default: "."
2021-01-21 20:02:19 +00:00
, commands = [
2020-05-13 03:26:28 +00:00
-- Time and date
2021-01-21 20:02:19 +00:00
Run Date "<fn=1>\xf133</fn> %b %d %Y - (%H:%M) " "date" 50
2020-05-13 03:26:28 +00:00
-- Network up and down
2021-01-21 20:02:19 +00:00
, Run Network "enp6s0" ["-t", "<fn=1>\xf0aa</fn> <rx>kb <fn=1>\xf0ab</fn> <tx>kb"] 20
2020-05-13 03:26:28 +00:00
-- Cpu usage in percent
2021-01-21 20:02:19 +00:00
, Run Cpu ["-t", "<fn=1>\xf108</fn> cpu: (<total>%)","-H","50","--high","red"] 20
2020-05-13 03:26:28 +00:00
-- Ram used number and percent
2021-01-21 20:02:19 +00:00
, Run Memory ["-t", "<fn=1>\xf233</fn> mem: <used>M (<usedratio>%)"] 20
2020-05-13 03:26:28 +00:00
-- Disk space free
2021-01-21 20:02:19 +00:00
, Run DiskU [("/", "<fn=1>\xf0c7</fn> hdd: <free> free")] [] 60
2020-05-13 03:26:28 +00:00
-- Runs custom script to check for pacman updates.
-- This script is in my dotfiles repo in .local/bin.
2020-08-11 22:27:59 +00:00
, Run Com "/home/dt/.local/bin/pacupdate" [] "pacupdate" 36000
2020-05-13 03:26:28 +00:00
-- Runs a standard shell command 'uname -r' to get kernel version
2020-07-12 15:52:51 +00:00
, Run Com "uname" ["-r"] "" 3600
2020-05-13 03:26:28 +00:00
-- Prints out the left side items such as workspaces, layout, etc.
-- The workspaces are 'clickable' in my configs.
2019-01-15 21:27:01 +00:00
, Run UnsafeStdinReader
]
, sepChar = "%"
, alignSep = "}{"
2021-01-21 20:02:19 +00:00
, template = " <action=`xdotool key control+alt+g`><icon=haskell_20.xpm/> </action><fc=#666666> |</fc> %UnsafeStdinReader% }{ <fc=#666666> |</fc> <fc=#b3afc2><fn=1></fn> %uname% </fc><fc=#666666> |</fc> <fc=#ecbe7b> %cpu% </fc><fc=#666666> |</fc> <fc=#ff6c6b> %memory% </fc><fc=#666666> |</fc> <fc=#51afef> %disku% </fc><fc=#666666> |</fc> <fc=#98be65> %enp6s0% </fc><fc=#666666> |</fc> <fc=#c678dd><fn=1></fn> %pacupdate% </fc><fc=#666666> |</fc> <fc=#46d9ff> %date% </fc>"
2019-01-15 21:27:01 +00:00
}