From 70c137c94625ca41c6f2fcdb99e14af7dc0f3146 Mon Sep 17 00:00:00 2001 From: James Patrick Date: Sat, 16 Jul 2022 18:50:24 -0400 Subject: [PATCH] Added polybar. There is an issue where the default systemd target in home-manager is of the wrong type. So it will periodically close & restart. --- modules/applications/i3/i3.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/applications/i3/i3.nix b/modules/applications/i3/i3.nix index 1520b16..b186e77 100644 --- a/modules/applications/i3/i3.nix +++ b/modules/applications/i3/i3.nix @@ -45,7 +45,6 @@ in with lib; { i3status # gives you the default i3 status bar playerctl scrot - rofi xclip xdotool ]; @@ -57,6 +56,7 @@ in with lib; { enable = true; package = pkgs.i3-gaps; config = { + bars = [ ]; colors = { focusedInactive = { background = "#1E1E2E"; @@ -129,6 +129,7 @@ in with lib; { startup = [ { command = "${pkgs.autotiling}/bin/autotiling"; } { command = "${pkgs.feh}/bin/feh --bg-scale ${wallpaper}"; } + { command = "systemctl --user restart polybar.service"; } ]; }; };