diff --git a/tree/.config/fish/config.fish.tpl b/tree/.config/fish/config.fish.tpl index 2dcb482..b12473b 100644 --- a/tree/.config/fish/config.fish.tpl +++ b/tree/.config/fish/config.fish.tpl @@ -60,6 +60,7 @@ starship init fish | source if status is-login and set -q XDG_SESSION_TYPE XDG_VTNR and test $XDG_SESSION_TYPE = "tty" -a $XDG_VTNR = "1" + set -x XDG_SESSION_TYPE sway exec sway end {% end %} diff --git a/tree/.config/sway/config.tpl b/tree/.config/sway/config.tpl index aa50caf..5ae784d 100644 --- a/tree/.config/sway/config.tpl +++ b/tree/.config/sway/config.tpl @@ -313,3 +313,6 @@ for_window [app_id="zoom"] floating enable for_window [app_id="com.nextcloud.desktopclient.nextcloud"] floating enable include /etc/sway/config.d/* + +exec systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP +