summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Minar <mic.liamg@gmail.com>2015-09-06 13:28:11 +0200
committerMichal Minar <mic.liamg@gmail.com>2015-09-06 13:28:11 +0200
commitbcc965306fefeae9498960abdb0ed239042956f5 (patch)
tree0cb71804a3edf205e8b996fdf334496c6b03c6e3
parent47233a76a0dacec34030220a0b1ad53f3296e1c2 (diff)
downloadxminad-bcc965306fefeae9498960abdb0ed239042956f5.tar.gz
xminad-bcc965306fefeae9498960abdb0ed239042956f5.tar.xz
xminad-bcc965306fefeae9498960abdb0ed239042956f5.zip
xmobarrc: Use `iconRoot` variable
Signed-off-by: Michal Minar <mic.liamg@gmail.com>
-rw-r--r--config/xmobar.config23
1 files 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", "<action=`mate-system-monitor --show-processes-tab`>\
- \<icon={{DATA_DIR}}/cpu-core-i7.xpm/> <ipat></action>",
- "--", "--load-icon-pattern", "<icon={{DATA_DIR}}/bar-%%.xpm/>"] 10
+ \<icon=cpu-core-i7.xpm/> <ipat></action>",
+ "--", "--load-icon-pattern", "<icon=bar-%%.xpm/>"] 10
, Run Memory ["-t","<action=`mate-system-monitor --show-resources-tab`>\
- \<icon={{DATA_DIR}}/memory.xpm/> <usedipat></action>",
- "--", "--used-icon-pattern", "<icon={{DATA_DIR}}/bar-%%.xpm/>"] 10
+ \<icon=memory.xpm/> <usedipat></action>",
+ "--", "--used-icon-pattern", "<icon=bar-%%.xpm/>"] 10
, Run DiskU [("/", "<action=`baobab` button=1>\
- \<icon={{DATA_DIR}}/disk-usage.xpm/> / <usedipat></action>")]
- ["--", "--used-icon-pattern", "<icon={{DATA_DIR}}/bar-%%.xpm/>"] 20
+ \<icon=disk-usage.xpm/> / <usedipat></action>")]
+ ["--", "--used-icon-pattern", "<icon=bar-%%.xpm/>"] 20
, Run Network "enp0s25" ["-L","0","-H","32",
"--normal","green","--high","red",
- "-t", "<icon={{DATA_DIR}}/ethernet.xpm/> <rx>KB|<tx>KB"] 10
+ "-S", "True", "-m", "7",
+ "-t", "<icon=ethernet.xpm/> <rx>|<tx>"] 10
]
, sepChar = "%"
, alignSep = "}{"
- , template = "%UnsafeStdinReader% }{ %cpu% %memory% %disku% %enp0s25%"
+ , template = "<fn=1>%UnsafeStdinReader%</fn> }{ %cpu% %memory% %disku% %enp0s25%"
}