mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-24 03:50:24 +10:00
Pushing some dotfile edits.
This commit is contained in:
@@ -12,16 +12,27 @@ 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 "\xf133 %b %d %Y (%H:%M)" "date" 10
|
||||
, commands = [
|
||||
-- Time and date
|
||||
Run Date "\xf133 %b %d %Y (%H:%M)" "date" 10
|
||||
-- Network up and down
|
||||
, Run Network "enp6s0" ["-t", "\xf0aa <rx>kb \xf0ab <tx>kb"] 10
|
||||
-- Cpu usage in percent
|
||||
, Run Cpu ["-t", "\xf108 cpu: (<total>%)","-H","50","--high","red"] 10
|
||||
-- Ram used number and percent
|
||||
, Run Memory ["-t", "\xf233 mem: <used>M (<usedratio>%)"] 10
|
||||
, Run DiskU [("/", "\xf0c7 hdd: <free> free")] [] 3600
|
||||
-- Disk space free
|
||||
, Run DiskU [("/", "\xf0c7 hdd: <free> free")] [] 60
|
||||
-- Runs custom script to check for pacman updates.
|
||||
-- This script is in my dotfiles repo in .local/bin.
|
||||
, Run Com "pacupdate" [] "" 3600
|
||||
, Run Com "kernel" [] "" 3600
|
||||
-- Runs a standard shell command 'uname -r' to get kernel version
|
||||
, Run Com "uname" ["-r"] "" 3600
|
||||
-- Prints out the left side items such as workspaces, layout, etc.
|
||||
-- The workspaces are 'clickable' in my configs.
|
||||
, Run UnsafeStdinReader
|
||||
]
|
||||
, sepChar = "%"
|
||||
, alignSep = "}{"
|
||||
, template = " <icon=haskell_20.xpm/> <fc=#666666>|</fc> %UnsafeStdinReader% }{ <fc=#b3afc2> %kernel%</fc><fc=#666666>| </fc><fc=#FFB86C>%cpu% </fc><fc=#666666>| </fc><fc=#FF5555>%memory% </fc><fc=#666666>| </fc><fc=#82AAFF>%disku% </fc><fc=#666666>| </fc><fc=#c3e88d>%enp6s0% </fc><fc=#666666>| </fc><fc=#e1acff> %pacupdate%</fc><fc=#666666>| </fc><fc=#8BE9FD>%date%</fc> "
|
||||
, template = " <icon=haskell_20.xpm/> <fc=#666666>|</fc> %UnsafeStdinReader% }{ <fc=#b3afc2> %uname%</fc><fc=#666666>| </fc><fc=#FFB86C>%cpu% </fc><fc=#666666>| </fc><fc=#FF5555>%memory% </fc><fc=#666666>| </fc><fc=#82AAFF>%disku% </fc><fc=#666666>| </fc><fc=#c3e88d>%enp6s0% </fc><fc=#666666>| </fc><fc=#e1acff> %pacupdate%</fc><fc=#666666>| </fc><fc=#8BE9FD>%date%</fc> "
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user