Update file run_onchange_after_20-apply-settings.mjs.tmpl
This commit is contained in:
parent
3fd1142b20
commit
6481b5f0d2
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue