From 23d18439b8b686d6ffc4a39a9486cd4e06e5ffb2 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Mon, 9 Jan 2023 07:29:23 +0000 Subject: [PATCH] Update file run_onchange_after_20-apply-settings.mjs.tmpl --- .../run_onchange_after_20-apply-settings.mjs.tmpl | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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 f75cb7cc..9b70885b 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 @@ -44,12 +44,9 @@ async function applyGsettings(settings) { if (gsettings) { for (const setting of settings) { try { - console.log(setting.setting) - console.log('-- val ---') - console.log(setting.value) const gsetting = setting.setting const gsettingVal = setting.value - await $`gsettings set ` + ${gsetting} + `${gsettingVal}` + await $`gsettings set ` + gsetting + `${gsettingVal}` } catch (e) { log('error', 'Gsettings Failure', 'Failed to apply gsetting') console.error(e) @@ -82,7 +79,7 @@ async function applyDconfSettings(settings) { if (dconf) { for (const setting of settings) { try { - await $`dconf write ${setting.key} ${setting.value}` + await $`dconf write ${setting.key} ` + setting.value } catch (e) { log('error', 'Dconf Failure', 'Failed to apply dconf setting') console.error(e)