From 9d6474cf3a99686640a560caf6f7c444afeb4add Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Tue, 10 Jan 2023 05:02:31 +0000 Subject: [PATCH] Update file run_onchange_after_25-gnome-extension-settings.tmpl --- .../run_onchange_after_25-gnome-extension-settings.tmpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 2f508de8..fcd1ee09 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 @@ -50,11 +50,13 @@ if [ -f "$HOME/.config/desktop/gnome.yml" ]; then if [ "$EXT_SETTINGS" != 'null' ]; then logg info 'Evaluating extension settings' if [ "$EXT_SETTINGS_TYPE" == 'array' ]; then - echo "$EXT_SETTINGS" | jq -cr '.' | while read EXT_SETTING; do + echo "$EXT_SETTINGS" | jq -cr '.[]' | while read EXT_SETTING; do + logg info 'Applying following extension setting:' echo "$EXT_SETTING" eval "$EXT_SETTING" done else + logg info 'Applying following extension setting:' echo "$EXT_SETTINGS" eval "$EXT_SETTINGS" fi