From 5966c6bf05697f300e39e2abdd1631122efe3d87 Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Fri, 7 Feb 2025 22:33:40 -0800 Subject: migration: fix polybar issue --- snowfall/modules/home/apps/i3/default.nix | 3 +-- snowfall/modules/home/apps/polybar/default.nix | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'snowfall') diff --git a/snowfall/modules/home/apps/i3/default.nix b/snowfall/modules/home/apps/i3/default.nix index c96d1cf..acbdf97 100644 --- a/snowfall/modules/home/apps/i3/default.nix +++ b/snowfall/modules/home/apps/i3/default.nix @@ -102,8 +102,7 @@ in { }; startup = [ - { command = "polybar-msg cmd quit"; always = true; notification = false; } - { command = "polybar"; always = true; notification = false; } + { command = "polybar-msg cmd quit; polybar"; always = true; notification = false; } { command = "systemctl --user restart picom"; always = true; notification = false; } #TODO: better path { command = "${pkgs.feh}/bin/feh --bg-fill ${../../desktop/bg/${desktop.background}}"; always = true; notification = false; } diff --git a/snowfall/modules/home/apps/polybar/default.nix b/snowfall/modules/home/apps/polybar/default.nix index a46627f..e942a21 100644 --- a/snowfall/modules/home/apps/polybar/default.nix +++ b/snowfall/modules/home/apps/polybar/default.nix @@ -11,7 +11,7 @@ in { config = mkIf cfg.enable { services.polybar = { enable = true; - script = "polybar"; + script = ""; package = pkgs.polybar.override { i3Support = true; -- cgit v1.2.3