A few minor edits.

This commit is contained in:
Derek Taylor
2019-10-06 21:36:09 -05:00
parent 59a418dd43
commit 3801e529f1
2 changed files with 9 additions and 8 deletions

View File

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

View File

@@ -78,9 +78,9 @@ windowCount = gets $ Just . show . length . W.integrate' . W.stack . W.works
main = do main = do
-- Launching three instances of xmobar on their monitors. -- Launching three instances of xmobar on their monitors.
xmproc0 <- spawnPipe "xmobar -x 0 /home/dt/.config/xmobar/xmobarrc2" xmproc0 <- spawnPipe "xmobar -x 0 /home/dt/.config/xmobar/xmobarrc0"
xmproc1 <- spawnPipe "xmobar -x 1 /home/dt/.config/xmobar/xmobarrc1" xmproc1 <- spawnPipe "xmobar -x 1 /home/dt/.config/xmobar/xmobarrc2"
xmproc2 <- spawnPipe "xmobar -x 2 /home/dt/.config/xmobar/xmobarrc0" xmproc2 <- spawnPipe "xmobar -x 2 /home/dt/.config/xmobar/xmobarrc1"
-- the xmonad, ya know...what the WM is named after! -- the xmonad, ya know...what the WM is named after!
xmonad $ ewmh desktopConfig xmonad $ ewmh desktopConfig
{ manageHook = ( isFullscreen --> doFullFloat ) <+> myManageHook <+> manageHook desktopConfig <+> manageDocks { manageHook = ( isFullscreen --> doFullFloat ) <+> myManageHook <+> manageHook desktopConfig <+> manageDocks