From cc09b607330385d6d81b9c47cf64a2442432e93f Mon Sep 17 00:00:00 2001 From: Soispha Date: Tue, 20 Feb 2024 16:35:15 +0100 Subject: refactor(treewide): Add a `.sh` extension to shell scripts --- .../conf/firefox/scripts/update_extensions.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 hm/soispha/conf/firefox/scripts/update_extensions.sh (limited to 'hm/soispha/conf/firefox/scripts/update_extensions.sh') diff --git a/hm/soispha/conf/firefox/scripts/update_extensions.sh b/hm/soispha/conf/firefox/scripts/update_extensions.sh new file mode 100755 index 00000000..f8ed3a9a --- /dev/null +++ b/hm/soispha/conf/firefox/scripts/update_extensions.sh @@ -0,0 +1,22 @@ +#!/bin/sh + + +tmp=$(mktemp) +cat << EOF > "$tmp" + darkreader:navbar + keepassxc-browser:navbar + vhack-libredirect:navbar + torproject-snowflake:navbar + tridactyl-vim:menupanel + ublock-origin:menupanel + video-pause:menupanel +EOF + +# The bin is provided in the devshell; +# The cat execution should be unquoted; +# shellcheck disable=SC2046 +generate_extensions $(cat "$tmp") > "$(dirname "$0")"/../config/extensions/extensions.json + + + +rm "$tmp"; -- cgit 1.4.1