mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-24 03:50:24 +10:00
A few minor edits.
This commit is contained in:
@@ -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> "
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user