about summary refs log tree commit diff stats
path: root/hm/soispha/conf/firefox/scripts/update_extensions.sh
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-02-20 17:21:42 +0100
committerSoispha <soispha@vhack.eu>2024-02-20 17:21:42 +0100
commitf2bdeaed0bcf97a880fe36cfc8a050d1643120b8 (patch)
treeba4fe9c3ddf076529701c0e776ffef2104ac23d5 /hm/soispha/conf/firefox/scripts/update_extensions.sh
parentrefactor(treewide): Add a `.sh` extension to shell scripts (diff)
downloadnixos-config-f2bdeaed0bcf97a880fe36cfc8a050d1643120b8.zip
refactor(treewide): Reformat all files with treefmt
This includes getting all shellscripts to pass shellcheck. To accomplish
this, some old scripts were removed
Diffstat (limited to '')
-rwxr-xr-xhm/soispha/conf/firefox/scripts/update_extensions.sh9
1 files changed, 3 insertions, 6 deletions
diff --git a/hm/soispha/conf/firefox/scripts/update_extensions.sh b/hm/soispha/conf/firefox/scripts/update_extensions.sh
index f8ed3a9a..83b0146d 100755
--- a/hm/soispha/conf/firefox/scripts/update_extensions.sh
+++ b/hm/soispha/conf/firefox/scripts/update_extensions.sh
@@ -1,8 +1,7 @@
 #!/bin/sh
 
-
 tmp=$(mktemp)
-cat << EOF > "$tmp"
+cat <<EOF >"$tmp"
     darkreader:navbar
     keepassxc-browser:navbar
     vhack-libredirect:navbar
@@ -15,8 +14,6 @@ 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
-
-
+generate_extensions $(cat "$tmp") >"$(dirname "$0")"/../config/extensions/extensions.json
 
-rm "$tmp";
+rm "$tmp"