diff --git a/home/.chezmoiscripts/universal/run_onchange_after_20-apply-settings.mjs.tmpl b/home/.chezmoiscripts/universal/run_onchange_after_20-apply-settings.mjs.tmpl index 799e9f35..fb68ce5d 100644 --- a/home/.chezmoiscripts/universal/run_onchange_after_20-apply-settings.mjs.tmpl +++ b/home/.chezmoiscripts/universal/run_onchange_after_20-apply-settings.mjs.tmpl @@ -47,7 +47,7 @@ async function applyGsettings(settings) { const gsetting = setting.setting const gsettingVal = setting.value const gsettingCmd = 'gsettings set ' + gsetting + ' ' + gsettingVal - await $gsettingCmd + await $`${gsettingCmd}` } catch (e) { log('error', 'Gsettings Failure', 'Failed to apply gsetting') console.error(e) @@ -81,7 +81,7 @@ async function applyDconfSettings(settings) { for (const setting of settings) { try { const dconfCmd = 'dconf write ' + setting.key + ' ' + setting.value - await $dconfCmd + await $`${dconfCmd}` } catch (e) { log('error', 'Dconf Failure', 'Failed to apply dconf setting') console.error(e)