From b7690e3ad34a4fd207dfd73476756836696f0731 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 17 Feb 2023 08:27:14 -0300 Subject: etc/{xmonad,xmobar}: Add working simplified configurations The xmobar "CommandReader" still needs work: for some reason it only gets the first string that the command emits, and not the later changed values. --- etc/xmobar/xmobarrc | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 etc/xmobar/xmobarrc (limited to 'etc/xmobar/xmobarrc') diff --git a/etc/xmobar/xmobarrc b/etc/xmobar/xmobarrc new file mode 100644 index 0000000..bae638b --- /dev/null +++ b/etc/xmobar/xmobarrc @@ -0,0 +1,24 @@ +Config { + font = "xft:DejaVu Sans Mono:size=9" + , commands = [ + Run Cpu ["-L","3","-H","50", "--normal","#5ea2a4","--high","red"] 10 + , Run Memory ["-t", "Mem: %"] 30 + , Run Swap [] 30 + , Run Date "%A, %Y-%m-%d %H:%M:%S" "date" 10 + , Run DiskU [("/", "/")] [] 600 + , Run Wireless "wlp0s20f3" [] 100 + , Run Volume "default" "Master" [] 10 + , Run Battery [ + "-t", ": % - ", + "--", + "-O", "AC", + "-i", "Full", + "-o", "Bat", + "-p", "orange", + "-h", "green", + "-l", "red"] + 10 + , Run CommandReader "forever x wms mpris AND sleep 1" "mpris" + ] + , template = " %default:Master%| %mpris% } { %wlp0s20f3wi% | %cpu% | %battery% | %disku% | %memory% * %swap% | %date% " +} -- cgit v1.2.3