diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2022-03-12 00:16:25 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2022-03-12 00:16:25 +1300 |
commit | b8e480544aff2b38c0320612e579251703255a31 (patch) | |
tree | 5a7b37699373de633d262944eb8d1c1be387fbdf /X | |
parent | Switch from youtube-dl to yt-dlp (diff) | |
download | dotfiles-b8e480544aff2b38c0320612e579251703255a31.tar.gz dotfiles-b8e480544aff2b38c0320612e579251703255a31.zip |
Switch to Librewolf
Diffstat (limited to 'X')
-rw-r--r-- | X/xinitrc.d/browser.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/X/xinitrc.d/browser.sh b/X/xinitrc.d/browser.sh index 0153fba9..b6e1d57e 100644 --- a/X/xinitrc.d/browser.sh +++ b/X/xinitrc.d/browser.sh @@ -1,8 +1,8 @@ # Choose a GUI browser with some rough heuristics -# If Firefox is available, start by assuming that -if command -v firefox >/dev/null 2>&1 ; then - BROWSER=firefox +# If Librewolf is available, start by assuming that +if command -v librewolf >/dev/null 2>&1 ; then + BROWSER=librewolf fi # Consider a switch to Dillo... @@ -11,8 +11,8 @@ if ( exec >/dev/null 2>&1 # Don't switch if it's not there command -v dillo || exit - # Switch if Firefox isn't there - command -v firefox || exit 0 + # Switch if Librewolf isn't there + command -v librewolf || exit 0 # Switch if procfs says we have less than 2GB of RAM awk '$1=="MemTotal:"&&$2<2^20{m++}END{exit!m}' < /proc/meminfo ) ; then |