aboutsummaryrefslogtreecommitdiff
path: root/.config/awesome/rc.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/awesome/rc.lua')
-rw-r--r--.config/awesome/rc.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua
index 42f93b7..ad20842 100644
--- a/.config/awesome/rc.lua
+++ b/.config/awesome/rc.lua
@@ -47,6 +47,10 @@ end
-- }}}
-- Start the desktop.target to autostart applications through systemd
+awful.util.spawn_with_shell("systemctl --user import-environment DISPLAY")
+awful.util.spawn_with_shell("systemctl --user import-environment PATH")
+awful.util.spawn_with_shell("systemctl --user import-environment WINIT_X11_SCALE_FACTOR")
+awful.util.spawn_with_shell("systemctl --user import-environment XAUTHORITY")
awful.util.spawn_with_shell("systemctl --user start desktop.target")
awful.util.spawn_with_shell("systemctl --user start desktop-x11.target")