Archived
1
0
Fork 0
This repository has been archived on 2024-10-31. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/simpleDots/bin/startBrowser.sh

20 lines
534 B
Bash
Raw Permalink Normal View History

#!/bin/sh
###############################################################################
##
# Starts the correct browser
#
#
#
###############################################################################
2023-12-25 15:48:01 +01:00
export MOZ_USE_XINPUT2=1
test -x ~/.local/bin/startBrowser.sh && (~/.local/bin/startBrowser.sh $@) && exit 0
test -x /usr/bin/firefox && (/usr/bin/firefox $@ &) && exit 0
test -x /usr/bin/chromium && (/usr/bin/chromium --force-dark-mode $@ &) && exit 0
i3-nagbar -m "None of your favorite browsers were found :-("
exit 1