chore: Update persist directory name to .zen

This commit is contained in:
Mauro Balades 2024-07-26 00:29:44 +02:00
parent 87dd437477
commit 9960205b2d
2 changed files with 20 additions and 1 deletions

19
launch-script.sh Normal file
View file

@ -0,0 +1,19 @@
#!/bin/bash
export TMPDIR=$XDG_CACHE_HOME/tmp
MOZ_LAUNCHER="$MOZ_DIST_BIN/launch-script.sh"
##
## Enable Wayland backend?
##
if ! [ $MOZ_DISABLE_WAYLAND ] && [ "$WAYLAND_DISPLAY" ]; then
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ]; then
export MOZ_ENABLE_WAYLAND=1
fi
## Enable Wayland on KDE/Sway
##
if [ "$XDG_SESSION_TYPE" == "wayland" ]; then
export MOZ_ENABLE_WAYLAND=1
fi
fi
exec /app/bin/zen "$@"