summarylogtreecommitdiffstats
path: root/firefox-beta.sh
blob: 9997b9356a83f63ec7efac52a3d2addbc0901a3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

# Check if --class is already set
for arg in "${@}"; do
    if [ "$arg" == '--class' ]; then
        exec /usr/lib/firefox-beta/firefox "$@"
        break;
    fi
done

# Set default --class
exec /usr/lib/firefox-beta/firefox --class 'Firefox Beta' "$@"