aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf.d/05browser.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf.d/05browser.fish b/conf.d/05browser.fish
index 9c7ba2b..01f0f28 100644
--- a/conf.d/05browser.fish
+++ b/conf.d/05browser.fish
@@ -19,7 +19,7 @@ if status is-interactive; and not fish_is_root_user
end
- if test -n "$WAYLAND_DISPLAY"; or test -n "$DISPLAY"; or test (uname) = 'Darwin'
+ if test -n "$WAYLAND_DISPLAY"; or test -n "$DISPLAY"; or string match -q 'Darwin' (uname)
# Graphical browsers to look for by order of preference
set -f xbrowsers 'librewolf' 'firefox' 'brave' 'palemoon' 'dillo'