profile.linux: Arch Guile /usr/local prefix fixup

This commit is contained in:
Andrea Rogers 2024-11-16 01:33:34 -06:00
commit 9002e98b5e
2 changed files with 9 additions and 1 deletions

View file

@ -10,6 +10,14 @@ if [ -z "$XDG_RUNTIME_DIR" ]; then
export LIBSEAT_BACKEND=seatd
fi
[ -z "$ID" ] && [ -f /etc/os-release ] && . /etc/os-release
case $ID in
arch)
export GUILE_LOAD_PATH='/usr/local/share/guile/site/3.0:/usr/share/guile/3.0:/usr/share/guile/site/3.0:/usr/share/guile/site:/usr/share/guile'
;;
esac
if [ -z "$WAYLAND_DISPLAY" ] && [ "$(tty)" == '/dev/tty1' ] && command -v sway; then
exec dbus-run-session sway -d |& tee /tmp/sway-$UID.log
fi