about summary refs log tree commit diff stats
path: root/home-manager/soispha/config/firefox/scripts/update_extensions
diff options
context:
space:
mode:
Diffstat (limited to 'home-manager/soispha/config/firefox/scripts/update_extensions')
-rwxr-xr-xhome-manager/soispha/config/firefox/scripts/update_extensions22
1 files changed, 22 insertions, 0 deletions
diff --git a/home-manager/soispha/config/firefox/scripts/update_extensions b/home-manager/soispha/config/firefox/scripts/update_extensions
new file mode 100755
index 00000000..05f47aad
--- /dev/null
+++ b/home-manager/soispha/config/firefox/scripts/update_extensions
@@ -0,0 +1,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
+
+# The bin is provided in the devshell. The cat execution should be unquoted
+generate_extensions $(cat "$tmp") > "$(dirname $0)"/../config/extensions/extensions.json
+
+
+
+rm "$tmp";