# Firejail profile for waterfox
# This file is overwritten after every install/update
# Persistent local customizations
include waterfox.local
# Persistent global definitions
include globals.local

noblacklist ${HOME}/.cache/waterfox
noblacklist ${HOME}/.waterfox

mkdir ${HOME}/.cache/waterfox
mkdir ${HOME}/.waterfox
whitelist ${HOME}/.cache/waterfox
whitelist ${HOME}/.waterfox
whitelist /usr/share/waterfox

# Add the next lines to your watefox.local if you want to use the migration wizard.
#noblacklist ${HOME}/.config/mozilla
#noblacklist ${HOME}/.mozilla
#whitelist ${HOME}/.config/mozilla
#whitelist ${HOME}/.mozilla

# waterfox requires a shell to launch on Arch. We can possibly remove sh though.
# Add the next line to your waterfox.local to enable private-bin.
#private-bin bash,dbus-launch,dbus-send,env,sh,waterfox,waterfox-classic,waterfox-current,which
private-etc waterfox

# Redirect
include firefox-common.profile
