Run xmobar directly, with pipe

This commit is contained in:
Sridhar Ratnakumar 2021-06-30 11:52:39 -04:00
parent 2d243cbcc7
commit 67a528cdb4

View file

@ -8,7 +8,8 @@ in
description = "Xmobar";
wantedBy = [ "graphical-session.target" ];
serviceConfig = {
ExecStart = "${xmobarPkg}/bin/xmobar-srid";
# ExecStart = "${xmobarPkg}/bin/xmobar-srid";
ExecStart = "${pkgs.xmobar}/bin/xmobar -v -x 2 -f xft:Consolas:size=12 -c '[Run PipeReader \"/etc/nixos/pipe\" \"thepipe\"]' -t \"%%thepipe%%\"";
Restart = "on-abnormal";
};
};