From 84455420e50d7f58d562ca467c96f055a8b07f26 Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Fri, 22 Oct 2021 15:53:19 +0530 Subject: [PATCH] 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. --- fish/.config/fish/conf.d/sway.fish | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fish/.config/fish/conf.d/sway.fish b/fish/.config/fish/conf.d/sway.fish index 628dfa2..118bf48 100644 --- a/fish/.config/fish/conf.d/sway.fish +++ b/fish/.config/fish/conf.d/sway.fish @@ -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