From 7b1ce3f5631971df21c2c95ce4d9ceed78e6d2d6 Mon Sep 17 00:00:00 2001 From: histalek Date: Mon, 17 Jan 2022 13:01:56 +0100 Subject: [PATCH] sway: Make sure the systemd user session loads all envs --- .config/sway/conf.d/autoruns | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.config/sway/conf.d/autoruns b/.config/sway/conf.d/autoruns index 5e9c14a..e06ef4d 100644 --- a/.config/sway/conf.d/autoruns +++ b/.config/sway/conf.d/autoruns @@ -6,6 +6,9 @@ # I'm using 'polkit-gnome' as a polkit client as it has no dependencies exec_always /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 +# Make sure the systemd user session gets all envs +exec_always "systemctl --user import-environment" + # Autostart applets exec nm-applet --indicator