about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-26 20:07:51 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-27 13:05:30 -0800
commite13ae2792d460f4801e6ed8bd25337c66559e207 (patch)
tree88d6e0cca6aea92b017dff8b8920fdbadc85ef20 /users
parentsway: assign applications to workspaces (diff)
downloadworld-e13ae2792d460f4801e6ed8bd25337c66559e207.tar.gz
sway: import systemd environments on startup
Diffstat (limited to 'users')
-rw-r--r--users/fcuny/desktop/wm/default.nix3
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"''; }
+      ];
     };
   };
 }