ensure state dir exists

This commit is contained in:
bbedward committed 2025-09-10 08:39:34 -04:00
1 parent 44ebd6a2ee
commit a77f6eb385
1 file changed
+4
+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"