dotfiles/fish/.config/fish/conf.d/sway.fish
Sanchayan Maity 84455420e5 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.
2021-10-22 16:07:08 +05:30

9 lines
165 B
Fish

# If running from tty1 start sway
set TTY1 (tty)
if test -z "$DISPLAY"; and test $TTY1 = "/dev/tty1"
exec sway
end
set -e BROWSER
set -Ux BROWSER firefox-wayland