diff options
| author | Deposite Pirate | 2025-01-26 04:40:35 +0100 |
|---|---|---|
| committer | Deposite Pirate | 2025-01-26 04:40:35 +0100 |
| commit | 8195e6ade375717aec62a9d4e32b8e8bc3e01125 (patch) | |
| tree | e383f9610f83ea8671d3cf3121acfedd66d482a0 | |
| parent | 37e791313f5e5edc17836a5fba077d290d1732a5 (diff) | |
Fix finding a web browser on macOS.
modified: conf.d/05browser.fish
| -rw-r--r-- | conf.d/05browser.fish | 2 |
1 files changed, 1 insertions, 1 deletions
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' |
