#!/bin/sh
# Files owns the Text editor's Open and Save dialogs (decision #58).
export GTK_USE_PORTAL=1
if [ -f /usr/lib/flea/mousepad-portal.so ]; then
    export LD_PRELOAD="/usr/lib/flea/mousepad-portal.so${LD_PRELOAD:+:$LD_PRELOAD}"
fi
exec /usr/bin/mousepad "$@"
