From 3801e529f1d7a008e2ac5064a47ab1061db497c8 Mon Sep 17 00:00:00 2001 From: Derek Taylor Date: Sun, 6 Oct 2019 21:36:09 -0500 Subject: [PATCH] A few minor edits. --- .config/xmobar/xmobarrc2 | 11 ++++++----- .xmonad/xmonad.hs | 6 +++--- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.config/xmobar/xmobarrc2 b/.config/xmobar/xmobarrc2 index 04296d3..a734802 100755 --- a/.config/xmobar/xmobarrc2 +++ b/.config/xmobar/xmobarrc2 @@ -11,14 +11,15 @@ Config { font = "xft:Mononoki Nerd Font:pixelsize=12:antialias=true:hinting=t , hideOnStart = False , allDesktops = True , persistent = True + , iconRoot = "/home/dt/.xmonad/xpm/" -- default: "." , commands = [ Run Date "%a %b %_d %Y %H:%M:%S" "date" 10 - , Run Network "enp3s0" ["-t", "net: kb|kb"] 10 - , Run Cpu ["-t","cpu: %","-H","50","--high","red"] 10 - , Run Memory ["-t","mem: %"] 10 - , Run DiskU [("/","hdd: /")] [] 3600 + , Run Network "enp4s0" ["-t", " net: kb|kb"] 10 + , Run Cpu ["-t"," cpu: %","-H","50","--high","red"] 10 + , Run Memory ["-t", " mem: %"] 10 + , Run DiskU [("/"," hdd: /")] [] 3600 , Run UnsafeStdinReader ] , sepChar = "%" , alignSep = "}{" - , template = "%UnsafeStdinReader% }{ %cpu% : %memory% : %disku% : %enp3s0% : %date% " + , template = "%UnsafeStdinReader% }{ %cpu% : %memory% : %disku% : %enp4s0% : %date% " } diff --git a/.xmonad/xmonad.hs b/.xmonad/xmonad.hs index 80fa00f..50583b5 100755 --- a/.xmonad/xmonad.hs +++ b/.xmonad/xmonad.hs @@ -78,9 +78,9 @@ windowCount = gets $ Just . show . length . W.integrate' . W.stack . W.works main = do -- Launching three instances of xmobar on their monitors. - xmproc0 <- spawnPipe "xmobar -x 0 /home/dt/.config/xmobar/xmobarrc2" - xmproc1 <- spawnPipe "xmobar -x 1 /home/dt/.config/xmobar/xmobarrc1" - xmproc2 <- spawnPipe "xmobar -x 2 /home/dt/.config/xmobar/xmobarrc0" + xmproc0 <- spawnPipe "xmobar -x 0 /home/dt/.config/xmobar/xmobarrc0" + xmproc1 <- spawnPipe "xmobar -x 1 /home/dt/.config/xmobar/xmobarrc2" + xmproc2 <- spawnPipe "xmobar -x 2 /home/dt/.config/xmobar/xmobarrc1" -- the xmonad, ya know...what the WM is named after! xmonad $ ewmh desktopConfig { manageHook = ( isFullscreen --> doFullFloat ) <+> myManageHook <+> manageHook desktopConfig <+> manageDocks