1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 05:25:41 -05:00

switch to state dir and dock fixes

This commit is contained in:
bbedward
2025-08-06 12:00:09 -04:00
parent 18aa557ef1
commit 055fee576c
5 changed files with 40 additions and 35 deletions

View File

@@ -17,9 +17,6 @@ Singleton {
property bool doNotDisturb: false
property var pinnedApps: []
readonly property string _configUrl: StandardPaths.writableLocation(StandardPaths.ConfigLocation)
readonly property string _configDir: _configUrl.startsWith("file://") ? _configUrl.substring(7) : _configUrl
Component.onCompleted: {
loadSettings();
}
@@ -115,7 +112,7 @@ Singleton {
FileView {
id: settingsFile
path: StandardPaths.writableLocation(StandardPaths.ConfigLocation) + "/DankMaterialShell/session.json"
path: StandardPaths.writableLocation(StandardPaths.GenericStateLocation) + "/DankMaterialShell/session.json"
blockLoading: true
blockWrites: true
watchChanges: true