From 4d67173ee88a05e8a99034b17418e295e831ca19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabi=C3=A1n=20Montero?= Date: Fri, 12 Aug 2022 20:10:30 -0600 Subject: [PATCH] home/desktop: restart polybar on i3 startup --- home/desktop/i3.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/home/desktop/i3.nix b/home/desktop/i3.nix index f8ebbac..0afdd18 100644 --- a/home/desktop/i3.nix +++ b/home/desktop/i3.nix @@ -70,6 +70,11 @@ { command = "${pkgs.i3-gaps}/bin/i3-msg 'workspace 1; exec ${pkgs.signal-desktop}/bin/signal-desktop'"; } + { + command = "${pkgs.systemd}/bin/systemctl --user restart polybar.service"; + notification = false; + always = true; + } ]; workspaceOutputAssign = [