#!/bin/sh
# shellcheck disable=SC2086
# shellcheck source=/dev/null
. ~/.local/lib/shell/lib

tmp=$(mktmp)
cat << EOF > $tmp
    darkreader
    keepassxc-browser
    simple-tab-groups
    ublock-origin
    tridactyl-vim
EOF


nix shell git+https://codeberg.org/ene/generate_moz_extension.git -c generate_extensions $(cat $tmp) > "$(dirname $0)"/../settings/extensions.json



if [ -d /tmp/LIB_FILE_TEMP_DIR/ ];then rm -r /tmp/LIB_FILE_TEMP_DIR/; fi