From 51bf8e93b3ddb5ce012b57ae854ce89b488904f7 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Wed, 15 May 2024 07:17:38 -0400 Subject: [PATCH] aly: autostart keepassxc --- aly.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/aly.nix b/aly.nix index 31e2935f..4bd651e6 100644 --- a/aly.nix +++ b/aly.nix @@ -112,6 +112,10 @@ userEmail = "aly@raffauflabs.com"; }; + wayland.windowManager.sway.config.startup = [ + {command = ''${lib.getExe' pkgs.keepassxc "keepassxc"}'';} + ]; + wayland.windowManager.sway.config.assigns = { "workspace 1: web" = [{app_id = "firefox";}]; "workspace 2: code" = [{app_id = "codium-url-handler";}]; @@ -121,6 +125,8 @@ }; wayland.windowManager.hyprland.extraConfig = '' + exec-once = ${lib.getExe' pkgs.keepassxc "keepassxc"} + # Workspace - Browser workspace = 1,defaultName:web workspace = 2,defaultName:code