about summary refs log tree commit diff stats
path: root/home-manager/config/firefox/scripts/update_extensions
blob: 2c5323879120ed7e8b574609d4baf43152770980 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
# shellcheck disable=SC2086
# shellcheck source=/dev/null
#. ~/.local/lib/shell/lib

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


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



rm "$tmp";