(desktop) hopefully fixed browser start

This commit is contained in:
scbj
2026-06-19 09:33:13 +02:00
parent d85455d6c8
commit 6189aec9b5
2 changed files with 11 additions and 1 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
[Desktop Entry]
Name=netbrowser
Comment=launch zegonix browser of choice
Exec=librewolf.appimage
Exec=bash start-browser.sh
Type=Application
Categories=Network;WebBrowser;
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
if $(which librewolf &>/dev/null); then
librewolf
elif $(which librewolf.appimage); then
librewolf.appimage
else
notify-send "[ERROR]" "Failed to start browser"
fi