aboutsummaryrefslogtreecommitdiff
path: root/etc/xmobar/xmobarrc
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-02-17 08:27:14 -0300
committerEuAndreh <eu@euandre.org>2023-02-17 08:36:30 -0300
commitb7690e3ad34a4fd207dfd73476756836696f0731 (patch)
tree578e3b1ada1e7cce2d450f9f1ccfcc41735dc2e1 /etc/xmobar/xmobarrc
parentetc/guix/home.scm: Pick a more up-to-date Node.js over ArchiveBox (diff)
downloaddotfiles-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/xmobarrc24
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> "
+}