diff --git a/usr/bin/portproton-session-select b/usr/bin/portproton-session-select index 710ca68..b2f742a 100755 --- a/usr/bin/portproton-session-select +++ b/usr/bin/portproton-session-select @@ -87,6 +87,8 @@ case "$session" in [[ "$KDE6" != "true" ]] && session_launcher="plasmawayland" elif [[ "$de_normalized" == *hyprland* ]]; then session_launcher="hyprland" + elif [[ "$de_normalized" == *xfce* ]]; then + session_launcher="xfce-wayland" fi else if [[ "$de_normalized" == *gnome* ]]; then @@ -96,6 +98,8 @@ case "$session" in [[ "$KDE6" != "true" ]] && session_launcher="plasma" elif [[ "$de_normalized" == *mate* ]]; then session_launcher="mate" + elif [[ "$de_normalized" == *xfce* ]]; then + session_launcher="xfce" fi fi create_sentinel=1 diff --git a/usr/bin/portprotonqt-desktop-return b/usr/bin/portprotonqt-desktop-return index 1576e5b..a7ab76b 100755 --- a/usr/bin/portprotonqt-desktop-return +++ b/usr/bin/portprotonqt-desktop-return @@ -20,5 +20,7 @@ if [[ -f "$CONFIG_FILE" ]] && grep -q 'autologin=true' "$CONFIG_FILE"; then exec mate-session-save --force-logout elif [[ "$XDG_DESKTOP" == *hyprland* ]]; then exec loginctl terminate-user "$(id -u)" + elif [[ "$XDG_DESKTOP" == *xfce* ]]; then + exec xfce4-session-logout --logout fi fi