config for Paths

This commit is contained in:
Benjamin Palko 2025-07-17 22:06:07 -04:00
parent faa8a9df59
commit 7c4cf83d55

13
shell/config/Paths.qml Normal file
View file

@ -0,0 +1,13 @@
import Quickshell
Singleton {
id: root
readonly property url home: StandardPaths.standardLocations(StandardPaths.)[0]
readonly property url wallpapers: `${StandardPaths.standardLocations(StandardPaths.HomeLocation)[0]}/Wallpapers`
readonly property url data: `${StandardPaths.standardLocations(StandardPaths.GenericDataLocation)[0]}/lux`
readonly property url state: `${StandardPaths.standardLocations(StandardPaths.GenericStateLocation)[0]}/lux`
readonly property url cache: `${StandardPaths.standardLocations(StandardPaths.GenericCacheLocation)[0]}/lux`
readonly property url config: `${StandardPaths.standardLocations(StandardPaths.GenericConfigLocation)[0]}/quickshell`
}