1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-27 06:52:50 -05:00

manual weather coords

This commit is contained in:
bbedward
2025-09-10 08:49:12 -04:00
parent a77f6eb385
commit 9438868706
2 changed files with 48 additions and 10 deletions

View File

@@ -59,6 +59,13 @@ Singleton {
Component.onCompleted: {
Quickshell.execDetached(["mkdir", "-p", stateDir])
matugenCheck.running = true
if (typeof SessionData !== "undefined")
SessionData.isLightModeChanged.connect(root.onLightModeChanged)
if (typeof SettingsData !== "undefined" && SettingsData.currentThemeName) {
switchTheme(SettingsData.currentThemeName, false)
}
}
function getMatugenColor(path, fallback) {
@@ -759,16 +766,6 @@ Singleton {
}
}
Component.onCompleted: {
matugenCheck.running = true
if (typeof SessionData !== "undefined")
SessionData.isLightModeChanged.connect(root.onLightModeChanged)
if (typeof SettingsData !== "undefined" && SettingsData.currentThemeName) {
switchTheme(SettingsData.currentThemeName, false)
}
}
FileView {
id: customThemeFileView
watchChanges: currentTheme === "custom"