diff options
Diffstat (limited to '')
-rwxr-xr-x | sys/nixpkgs/pkgs/generate_moz_extension/examples/generate_extensions.sh | 17 |
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" |