From 5ff76b659b84dc2fdf13533734f2833fd8999925 Mon Sep 17 00:00:00 2001 From: eoli3n Date: Mon, 21 Mar 2022 17:11:15 +0100 Subject: [PATCH] fix XDG_RUNTIME_DIR not set after first logout --- roles/sway/files/sway.fish | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/sway/files/sway.fish b/roles/sway/files/sway.fish index f9c110c..65f519f 100644 --- a/roles/sway/files/sway.fish +++ b/roles/sway/files/sway.fish @@ -1,6 +1,8 @@ # Autostart sway when user login on tty1 set -x XDG_CURRENT_DESKTOP 'sway' # xdg-desktop-portal +set -x XDG_RUNTIME_DIR /run/user/(id -u)/ + set -x MOZ_ENABLE_WAYLAND 1 set -x KITTY_ENABLE_WAYLAND 1 set -x QT_QPA_PLATFORM 'wayland-egl'