From e13ae2792d460f4801e6ed8bd25337c66559e207 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 26 Feb 2022 20:07:51 -0800 Subject: sway: import systemd environments on startup --- users/fcuny/desktop/wm/default.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'users/fcuny/desktop') diff --git a/users/fcuny/desktop/wm/default.nix b/users/fcuny/desktop/wm/default.nix index 56ab617..8881055 100644 --- a/users/fcuny/desktop/wm/default.nix +++ b/users/fcuny/desktop/wm/default.nix @@ -91,6 +91,9 @@ scale = "1.3"; }; }; + startup = [ + { command = ''exec "systemctl --user import-environment; systemctl --user start sway-session.target"''; } + ]; }; }; } -- cgit 1.4.1