From 70a5a3a70257adaadd8402ddf945a120ca1d386d Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Sun, 26 Jun 2022 21:13:00 +0200 Subject: [PATCH] feat(i3): assign kitty and firefox to workspaces and auto-start --- home-manager/i3.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/home-manager/i3.nix b/home-manager/i3.nix index 8e1dd6e..0a4d646 100644 --- a/home-manager/i3.nix +++ b/home-manager/i3.nix @@ -32,6 +32,18 @@ size = 12.0; }; }]; + + defaultWorkspace = "workspace number 1"; + + startup = [ + { command = "${pkgs.kitty}/bin/kitty"; } + { command = "${pkgs.firefox}/bin/firefox"; } + ]; + + assigns = { + "1" = [{ class = "^kitty$"; }]; + "5" = [{ class = "^firefox$"; }]; + }; }; };