diff options
author | EuAndreh <eu@euandre.org> | 2023-02-17 08:27:14 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-02-17 08:36:30 -0300 |
commit | b7690e3ad34a4fd207dfd73476756836696f0731 (patch) | |
tree | 578e3b1ada1e7cce2d450f9f1ccfcc41735dc2e1 /etc/xmobar/xmobarrc | |
parent | etc/guix/home.scm: Pick a more up-to-date Node.js over ArchiveBox (diff) | |
download | dotfiles-b7690e3ad34a4fd207dfd73476756836696f0731.tar.gz dotfiles-b7690e3ad34a4fd207dfd73476756836696f0731.tar.xz |
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.
Diffstat (limited to 'etc/xmobar/xmobarrc')
-rw-r--r-- | etc/xmobar/xmobarrc | 24 |
1 files changed, 24 insertions, 0 deletions
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: <usedratio>%"] 30 + , Run Swap [] 30 + , Run Date "%A, %Y-%m-%d %H:%M:%S" "date" 10 + , Run DiskU [("/", "<used>/<size>")] [] 600 + , Run Wireless "wlp0s20f3" [] 100 + , Run Volume "default" "Master" [] 10 + , Run Battery [ + "-t", "<acstatus>: <fc=#5ea2a4><left></fc>% - <timeleft>", + "--", + "-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% | <fc=#5ea2a4>%date%</fc> " +} |