aboutsummaryrefslogtreecommitdiffstats
path: root/sway/conf.d/10-environment.conf
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.com>2024-12-25 14:26:51 +0000
committerLeonardo Bishop <me@leonardobishop.com>2024-12-25 14:26:51 +0000
commitdc41873a79b32ed3d34dd7dac09c081f7472d207 (patch)
treeba3c80c8d137263a8f346cf32853d15f75094fab /sway/conf.d/10-environment.conf
parentf4c682dc6bdeebe9f0c6a20deb7092cf893791a1 (diff)
Change most things to symlinks instead of hardlinks
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