melawy-skel-root/root/.local/userbin/set-default-web-browser.sh

10 lines
231 B
Bash
Raw Normal View History

2023-11-22 11:29:04 +05:00
#!/bin/bash
xdg-settings set default-web-browser firefox.desktop
if [ "$(whoami)" != "liveuser" ]; then
sleep 5
rm ~/.config/autostart/set-default-web-browser.desktop
rm ~/.local/userbin/set-default-web-browser.sh
fi