1
0
Fork 0
dotfiles2000/dotfiles/my-binaries/dot-bin/startAltBrowserPrivat.sh
2024-10-31 22:09:39 +01:00

18 lines
597 B
Bash
Executable file

#!/bin/sh
###############################################################################
##
# Starts the correct browser in private-mode
#
#
#
###############################################################################
export MOZ_USE_XINPUT2=1
test -x ~/.local/bin/startAltBrowserPrivat.sh && (~/.local/bin/startAltBrowserPrivat.sh $@) && exit 0
test -x /usr/bin/firefox && (/usr/bin/firefox --private-window $@ &) && exit 0
test -x /usr/bin/chromium && (/usr/bin/chromium --force-dark-mode --incognito $@ &) && exit 0
i3-nagbar -m "None of your favorite browsers were found :-("
exit 1