aboutsummaryrefslogtreecommitdiffstats
path: root/config/quickshell/services/ConfigLoader.qml
diff options
context:
space:
mode:
authorJa.KooLit <85185940+JaKooLit@users.noreply.github.com>2025-06-22 22:37:16 +0900
committerGitHub <noreply@github.com>2025-06-22 22:37:16 +0900
commitafa756b92c95f090534ed8349dfd72adc12561d3 (patch)
tree2aae90f97566d3943202e9c6605cc95c99d08ac1 /config/quickshell/services/ConfigLoader.qml
parent0f70ff7ae24196ecf5cb9cf2c6299c2d2636a82b (diff)
parent897873fccd5d19c460128998b9434238dcf07ba6 (diff)
Merge pull request #749 from SherLock707/overviewV2_qs
qs:Overview update: Refactored for better colour and font expose and cleaned up unused code
Diffstat (limited to 'config/quickshell/services/ConfigLoader.qml')
-rw-r--r--config/quickshell/services/ConfigLoader.qml5
1 files changed, 2 insertions, 3 deletions
diff --git a/config/quickshell/services/ConfigLoader.qml b/config/quickshell/services/ConfigLoader.qml
index 5f16bf55..d3fb4e26 100644
--- a/config/quickshell/services/ConfigLoader.qml
+++ b/config/quickshell/services/ConfigLoader.qml
@@ -72,7 +72,7 @@ Singleton {
let targetObject = ConfigOptions;
// Check if this is a font-related configuration
- if (keys[0] === "font" && typeof Appearance !== 'undefined') {
+ if (keys[0] === "font") {
targetObject = Appearance;
}
@@ -101,13 +101,12 @@ Singleton {
}
}
- console.log(parents.join("."));
console.log(`[ConfigLoader] Setting live config value: ${nestedKey} = ${convertedValue}`);
obj[keys[keys.length - 1]] = convertedValue;
}
function saveConfig() {
- const plainConfig = ObjectUtils.toPlainObject(ConfigOptions)
+ const plainConfig = ObjectUtils.toPlainObject(ConfigOptions);
Hyprland.dispatch(`exec echo '${StringUtils.shellSingleQuoteEscape(JSON.stringify(plainConfig, null, 2))}' > '${root.filePath}'`)
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage