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

12 lines
249 B
Bash
Raw Normal View History

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