Update file run_onchange_after_20-apply-settings.mjs.tmpl

This commit is contained in:
Brian Zalewski 2023-01-09 12:32:40 +00:00
parent 3fd1142b20
commit 6481b5f0d2

View file

@ -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)