From a64815f5a25e385df234ada8851421219b7c8455 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Mon, 9 Jan 2023 01:15:55 +0000 Subject: [PATCH] Update file run_onchange_after_20-apply-settings.mjs.tmpl --- .../universal/run_onchange_after_20-apply-settings.mjs.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 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 467f169d..69c41275 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 @@ -8,7 +8,7 @@ async function loadThemeSettings() { try { const themeSettingsFile = `${process.env.HOME}/.config/desktop/settings.yml` - if (fileExists(settingsFile)) { + if (fileExists(themeSettingsFile)) { const text = fs.readFileSync(themeSettingsFile).toString() return YAML.parse(text) } else { @@ -25,7 +25,7 @@ async function loadThemeSettings() { async function loadGnomeSettings() { try { const gnomeSettingsFile = `${process.env.HOME}/.config/desktop/gnome.yml` - if (fileExists(settingsFile)) { + if (fileExists(gnomeSettingsFile)) { const text = fs.readFileSync(gnomeSettingsFile).toString() return YAML.parse(text) } else {