From 67a528cdb4956cdb0b2d85ac6d36783ddef80a6a Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Wed, 30 Jun 2021 11:52:39 -0400 Subject: [PATCH] Run xmobar directly, with pipe --- features/desktopish/xmobar/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/features/desktopish/xmobar/default.nix b/features/desktopish/xmobar/default.nix index 778254b..7d8c934 100644 --- a/features/desktopish/xmobar/default.nix +++ b/features/desktopish/xmobar/default.nix @@ -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"; }; };