This commit is contained in:
ange 2025-05-29 07:52:56 +00:00
parent 337c12125d
commit 81da0e63fa
Signed by: ange
GPG key ID: 9E0C4157BB7BEB1D
38 changed files with 93 additions and 90 deletions

View file

@ -1,6 +1,7 @@
#!/bin/bash
sites=(
'https://chat.mistral.ai'
'https://discord.com'
'https://gmoker.com'
'https://login.microsoftonline.com'
@ -20,7 +21,7 @@ function update() {
done < <(awk -F= '/^Path=/{print $2}' "$ff/profiles.ini")
}
ff="$HOME/.var/app/org.mozilla.firefox/.mozilla/firefox"
ff="$HOME/.mozilla/firefox"
if [ "$1" == update ]; then
update
@ -35,4 +36,4 @@ if ! fuser -s "$profile"; then
sqlite3 "$profile/permissions.sqlite" <<< "DELETE FROM moz_perms; $sq"
sqlite3 "$profile/places.sqlite" <<< "DELETE FROM moz_bookmarks;"
fi
org.mozilla.firefox "$@"
/usr/bin/firefox "$@"