diff --git a/home/.chezmoiscripts/universal/run_onchange_after_25-gnome-extension-settings.tmpl b/home/.chezmoiscripts/universal/run_onchange_after_25-gnome-extension-settings.tmpl index bad58e53..4c9db446 100644 --- a/home/.chezmoiscripts/universal/run_onchange_after_25-gnome-extension-settings.tmpl +++ b/home/.chezmoiscripts/universal/run_onchange_after_25-gnome-extension-settings.tmpl @@ -13,7 +13,7 @@ fi ### Populate /tmp/install-gnome-extensions.txt with GNOME extensions that need to be installed if [ -f "$HOME/.config/desktop/gnome.yml" ]; then - yq e -o=j "$HOME/.config/desktop/gnome.yml" | jq -cr '.default_gnome_extensions[]' | while read EXT; do + cat "$HOME/.config/desktop/gnome.yml" | yq e -o=j '.' | jq -cr '.default_gnome_extensions[]' | while read EXT; do EXT_URL="$(echo "$EXT" | jq -r '.url')" EXT_ID="$(echo "$EXT" | jq -r '.regex')" echo "$EXT_URL" >> /tmp/install-gnome-extensions.txt @@ -45,7 +45,7 @@ fi ### Apply plugin gsettings if [ -f "$HOME/.config/desktop/gnome.yml" ]; then - yq e -o=j "$HOME/.config/desktop/gnome.yml" | jq -cr '.default_gnome_extensions[]' | while read EXT; do + cat "$HOME/.config/desktop/gnome.yml" | yq e -o=j '.' | jq -cr '.default_gnome_extensions[]' | while read EXT; do EXT_ID="$(echo "$EXT" | jq -r '.regex')" EXT_SETTINGS="$(echo "$EXT" | jq -r '.settings')" if [ "$EXT_SETTINGS" != 'null' ]; then