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' "$@"