fish: Unset and set BROWSER

For some reason, BROWSER always gets set to firefox instead of
firefox-wayland which is our own desktop file for starting firefox
in wayland.

Setting the systemd environment variables or using the env in desktop
file has not helped.
This commit is contained in:
Sanchayan Maity 2021-10-22 15:53:19 +05:30
parent e5e2b5148a
commit 84455420e5
1 changed files with 3 additions and 0 deletions

View File

@ -3,3 +3,6 @@ set TTY1 (tty)
if test -z "$DISPLAY"; and test $TTY1 = "/dev/tty1"
exec sway
end
set -e BROWSER
set -Ux BROWSER firefox-wayland