aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-02-17 10:09:15 -0300
committerEuAndreh <eu@euandre.org>2023-02-17 10:09:18 -0300
commitb01a50550c44ae7daa70d957f26c282b857875c3 (patch)
tree859367d16a613118a70acba54373329c7b8ba09c /etc
parentetc/guix/home.scm: Add Guile package included by default in Guix (diff)
downloaddotfiles-b01a50550c44ae7daa70d957f26c282b857875c3.tar.gz
dotfiles-b01a50550c44ae7daa70d957f26c282b857875c3.tar.xz
etc/xmobar/xmobarrc: Fix mpris title display
For some ~bad and brittle~ reason, xmobar's CommandReader doesn't really update if something is sent to its STDERR. So one needs to explicitly discard it in order for CommandReader to be useful and work properly. Fixes issue mentioned in b7690e3ad34a4fd207dfd73476756836696f0731.
Diffstat (limited to 'etc')
-rw-r--r--etc/xmobar/xmobarrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/xmobar/xmobarrc b/etc/xmobar/xmobarrc
index bae638b..90f701e 100644
--- a/etc/xmobar/xmobarrc
+++ b/etc/xmobar/xmobarrc
@@ -18,7 +18,7 @@ Config {
"-h", "green",
"-l", "red"]
10
- , Run CommandReader "forever x wms mpris AND sleep 1" "mpris"
+ , Run CommandReader "forever x wms mpris AND sleep 1 2>/dev/null" "mpris"
]
, template = " %default:Master%| %mpris% } { %wlp0s20f3wi% | %cpu% | %battery% | %disku% | %memory% * %swap% | <fc=#5ea2a4>%date%</fc> "
}