diff options
author | Franck Cuny <franck@fcuny.net> | 2022-02-26 20:07:51 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-02-27 13:05:30 -0800 |
commit | e13ae2792d460f4801e6ed8bd25337c66559e207 (patch) | |
tree | 88d6e0cca6aea92b017dff8b8920fdbadc85ef20 /users | |
parent | sway: assign applications to workspaces (diff) | |
download | world-e13ae2792d460f4801e6ed8bd25337c66559e207.tar.gz |
sway: import systemd environments on startup
Diffstat (limited to 'users')
-rw-r--r-- | users/fcuny/desktop/wm/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
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"''; } + ]; }; }; } |