From 73dc11286b33fde2ac3737ba5900b09b086d4f14 Mon Sep 17 00:00:00 2001 From: Mridul Agarwal Date: Wed, 18 Feb 2026 22:59:05 +0200 Subject: [PATCH] make omarchy-launch-browser check for firefox exclusive flag to detect base (#4572) Co-authored-by: Mrid22 --- bin/omarchy-launch-browser | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/omarchy-launch-browser b/bin/omarchy-launch-browser index 0d168978..86ca64f4 100755 --- a/bin/omarchy-launch-browser +++ b/bin/omarchy-launch-browser @@ -6,7 +6,7 @@ default_browser=$(xdg-settings get default-web-browser) browser_exec=$(sed -n 's/^Exec=\([^ ]*\).*/\1/p' {~/.local,~/.nix-profile,/usr}/share/applications/$default_browser 2>/dev/null | head -1) -if [[ $browser_exec =~ (firefox|zen|librewolf|mullvad) ]]; then +if [[ $browser_exec --help | grep MOZ_LOG ]]; then private_flag="--private-window" elif [[ $browser_exec =~ edge ]]; then private_flag="--inprivate"