From b01a50550c44ae7daa70d957f26c282b857875c3 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 17 Feb 2023 10:09:15 -0300 Subject: 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. --- etc/xmobar/xmobarrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/xmobar/xmobarrc') 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% | %date% " } -- cgit v1.2.3