From 8195e6ade375717aec62a9d4e32b8e8bc3e01125 Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Sun, 26 Jan 2025 04:40:35 +0100 Subject: Fix finding a web browser on macOS. modified: conf.d/05browser.fish --- conf.d/05browser.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'conf.d/05browser.fish') diff --git a/conf.d/05browser.fish b/conf.d/05browser.fish index c4c4b2d..1a8b92d 100644 --- a/conf.d/05browser.fish +++ b/conf.d/05browser.fish @@ -17,7 +17,7 @@ if status is-interactive; and not fish_is_root_user end - if not test -z "$WAYLAND_DISPLAY"; and not test -z "$DISPLAY" + if test -n "$WAYLAND_DISPLAY"; or test -n "$DISPLAY"; or test (uname) = 'Darwin' # Graphical browsers to look for by order of preference set -f xbrowsers 'librewolf' 'firefox' -- cgit v1.3.1