aboutsummaryrefslogtreecommitdiffstats
path: root/sway/conf.d/10-environment.conf
diff options
context:
space:
mode:
Diffstat (limited to 'sway/conf.d/10-environment.conf')
-rw-r--r--sway/conf.d/10-environment.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/sway/conf.d/10-environment.conf b/sway/conf.d/10-environment.conf
new file mode 100644
index 0000000..3c97e57
--- /dev/null
+++ b/sway/conf.d/10-environment.conf
@@ -0,0 +1,5 @@
+exec "systemctl --user import-environment {,WAYLAND_}DISPLAY SWAYSOCK; systemctl --user start sway-session.target"
+exec swaymsg -t subscribe '["shutdown"]' && systemctl --user stop sway-session.target
+
+exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
+#exec --no-startup-id /usr/lib/polkit-kde-authentication-agent-1