From b40bff967c0c71f05b52cee0b84f9239a9f7173b Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Tue, 12 Nov 2024 17:31:19 +0100 Subject: sway screencasting --- bash/99-wm.profile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bash') diff --git a/bash/99-wm.profile b/bash/99-wm.profile index 72ecc02..bb5cd2a 100644 --- a/bash/99-wm.profile +++ b/bash/99-wm.profile @@ -1,5 +1,7 @@ # vi: ft=sh if [ "$WM_AUTO_START" = "yes" ] && [ -z $DISPLAY ] && [ "$(tty)" = "$WM_TTY" ]; then - exec "$WM_WM" + systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP + dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway + exec "$WM_WM" fi -- cgit v1.2.3