about summary refs log tree commit diff stats
path: root/sys/nixpkgs/pkgs/generate_moz_extension/examples
diff options
context:
space:
mode:
Diffstat (limited to 'sys/nixpkgs/pkgs/generate_moz_extension/examples')
-rwxr-xr-xsys/nixpkgs/pkgs/generate_moz_extension/examples/generate_extensions.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/sys/nixpkgs/pkgs/generate_moz_extension/examples/generate_extensions.sh b/sys/nixpkgs/pkgs/generate_moz_extension/examples/generate_extensions.sh
new file mode 100755
index 00000000..96802992
--- /dev/null
+++ b/sys/nixpkgs/pkgs/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"