From a8a61813b89c7b0bad615a2035c40300eeaacd9b Mon Sep 17 00:00:00 2001 From: Albert Armea Date: Sun, 4 Jan 2026 14:21:02 -0500 Subject: [PATCH] Make environment behave more like a real session --- sway.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sway.conf b/sway.conf index f29153d..d216fd0 100644 --- a/sway.conf +++ b/sway.conf @@ -1,6 +1,9 @@ # Shepherd Launcher - Kiosk Mode Sway Configuration # This config makes Sway act as a kiosk environment with a custom launcher +exec_always dbus-update-activation-environment --systemd \ + WAYLAND_DISPLAY XDG_CURRENT_DESKTOP XDG_SESSION_TYPE XDG_SESSION_DESKTOP XDG_RUNTIME_DIR + ### Variables set $launcher ./target/debug/shepherd-launcher set $hud ./target/debug/shepherd-hud