1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-06-08 04:09:15 -04:00

ensure state dir exists

This commit is contained in:
bbedward
2025-09-10 08:39:34 -04:00
parent 44ebd6a2ee
commit a77f6eb385
+4
View File
@@ -57,6 +57,10 @@ Singleton {
return path + "/dankshell"
}
Component.onCompleted: {
Quickshell.execDetached(["mkdir", "-p", stateDir])
}
function getMatugenColor(path, fallback) {
colorUpdateTrigger
const colorMode = (typeof SessionData !== "undefined" && SessionData.isLightMode) ? "light" : "dark"