From bcc965306fefeae9498960abdb0ed239042956f5 Mon Sep 17 00:00:00 2001 From: Michal Minar Date: Sun, 6 Sep 2015 13:28:11 +0200 Subject: xmobarrc: Use `iconRoot` variable Signed-off-by: Michal Minar --- config/xmobar.config | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/config/xmobar.config b/config/xmobar.config index ac69472..299edfd 100644 --- a/config/xmobar.config +++ b/config/xmobar.config @@ -1,5 +1,5 @@ -Config { font = "xft:Sans:size=10" - , additionalFonts = [] +Config { font = "xft:Monospace:size=10" + , additionalFonts = ["xft:Sans:size=10"] , borderColor = "black" , border = TopB , bgColor = "#3c3c3c" @@ -12,26 +12,27 @@ Config { font = "xft:Sans:size=10" , pickBroadest = False , persistent = True , hideOnStart = False - , iconRoot = "." + , iconRoot = "{{DATA_DIR}}" , allDesktops = True , overrideRedirect = False , commands = [ Run UnsafeStdinReader , Run Cpu ["-L","3","-H","50", "--normal","green","--high","red", "--template", "\ - \ ", - "--", "--load-icon-pattern", ""] 10 + \ ", + "--", "--load-icon-pattern", ""] 10 , Run Memory ["-t","\ - \ ", - "--", "--used-icon-pattern", ""] 10 + \ ", + "--", "--used-icon-pattern", ""] 10 , Run DiskU [("/", "\ - \ / ")] - ["--", "--used-icon-pattern", ""] 20 + \ / ")] + ["--", "--used-icon-pattern", ""] 20 , Run Network "enp0s25" ["-L","0","-H","32", "--normal","green","--high","red", - "-t", " KB|KB"] 10 + "-S", "True", "-m", "7", + "-t", " |"] 10 ] , sepChar = "%" , alignSep = "}{" - , template = "%UnsafeStdinReader% }{ %cpu% %memory% %disku% %enp0s25%" + , template = "%UnsafeStdinReader% }{ %cpu% %memory% %disku% %enp0s25%" } -- cgit