about summary refs log tree commit diff stats
path: root/pkgs/sources/generate_moz_extension/examples/generate_extensions.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/sources/generate_moz_extension/examples/generate_extensions.sh')
-rwxr-xr-xpkgs/sources/generate_moz_extension/examples/generate_extensions.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/sources/generate_moz_extension/examples/generate_extensions.sh b/pkgs/sources/generate_moz_extension/examples/generate_extensions.sh
new file mode 100755
index 00000000..96802992
--- /dev/null
+++ b/pkgs/sources/generate_moz_extension/examples/generate_extensions.sh
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+tmp=$(mktemp)
+cat <<EOF | awk '!/^\s*#/' >"$tmp"
+    darkreader:navbar
+    keepassxc-browser:navbar
+    vhack-libredirect:navbar
+    # torproject-snowflake:navbar
+    tridactyl-vim:menupanel
+    ublock-origin:menupanel
+EOF
+
+# The cat execution should be unquoted;
+# shellcheck disable=SC2046
+cargo run -- $(cat "$tmp")
+
+rm "$tmp"