move common dirs to Directories <--renamed-- XdgDirectories

This commit is contained in:
end-4
2025-05-27 22:49:03 +02:00
parent 5ea497068c
commit 66c75342d4
17 changed files with 63 additions and 65 deletions
@@ -12,7 +12,7 @@ import Quickshell.Io
*/
Singleton {
id: root
property string filePath: `${XdgDirectories.state}/user/generated/colors.json`
property string filePath: Directories.generatedMaterialThemePath
function reapplyTheme() {
themeFileView.reload()
@@ -44,7 +44,7 @@ Singleton {
FileView {
id: themeFileView
path: root.filePath
path: Qt.resolvedUrl(root.filePath)
watchChanges: true
onFileChanged: {
this.reload()