Update file run_onchange_after_20-apply-settings.mjs.tmpl
This commit is contained in:
parent
b95c546987
commit
a64815f5a2
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@
|
||||||
async function loadThemeSettings() {
|
async function loadThemeSettings() {
|
||||||
try {
|
try {
|
||||||
const themeSettingsFile = `${process.env.HOME}/.config/desktop/settings.yml`
|
const themeSettingsFile = `${process.env.HOME}/.config/desktop/settings.yml`
|
||||||
if (fileExists(settingsFile)) {
|
if (fileExists(themeSettingsFile)) {
|
||||||
const text = fs.readFileSync(themeSettingsFile).toString()
|
const text = fs.readFileSync(themeSettingsFile).toString()
|
||||||
return YAML.parse(text)
|
return YAML.parse(text)
|
||||||
} else {
|
} else {
|
||||||
|
@ -25,7 +25,7 @@ async function loadThemeSettings() {
|
||||||
async function loadGnomeSettings() {
|
async function loadGnomeSettings() {
|
||||||
try {
|
try {
|
||||||
const gnomeSettingsFile = `${process.env.HOME}/.config/desktop/gnome.yml`
|
const gnomeSettingsFile = `${process.env.HOME}/.config/desktop/gnome.yml`
|
||||||
if (fileExists(settingsFile)) {
|
if (fileExists(gnomeSettingsFile)) {
|
||||||
const text = fs.readFileSync(gnomeSettingsFile).toString()
|
const text = fs.readFileSync(gnomeSettingsFile).toString()
|
||||||
return YAML.parse(text)
|
return YAML.parse(text)
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue