1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-05 21:15:38 -05:00

ensure state dir exists

This commit is contained in:
bbedward
2025-09-10 08:39:34 -04:00
parent 44ebd6a2ee
commit a77f6eb385

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"