fix(x11): ensure .profile launches bananarchy-x11-session.sh from tinydm-run-session
This commit is contained in:
@@ -18,3 +18,13 @@ export GTK_USE_PORTAL=0
|
||||
export GTK_IM_MODULE=fcitx
|
||||
export QT_IM_MODULE=fcitx
|
||||
export XMODIFIERS=@im=fcitx
|
||||
|
||||
case "$0" in
|
||||
*tinydm-run-session*)
|
||||
if [ -x "$HOME/.local/bin/bananarchy-x11-session.sh" ]; then
|
||||
exec dbus-run-session -- "$HOME/.local/bin/bananarchy-x11-session.sh"
|
||||
elif [ -x /usr/bin/bananarchy-x11-session.sh ]; then
|
||||
exec dbus-run-session -- /usr/bin/bananarchy-x11-session.sh
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user