diff options
| author | Ja.KooLit <85185940+JaKooLit@users.noreply.github.com> | 2025-06-15 17:08:35 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-15 17:08:35 +0000 |
| commit | 88abbee9fe56f2e2489f04a017daaf3cfdc97511 (patch) | |
| tree | c229832f852a3e55b41addcfc675d3ceb3df2282 /config/quickshell/modules/common/Directories.qml | |
| parent | 4cf0d0bd5930da76e60f6770de3ee97c10ca7024 (diff) | |
| parent | d46077fe5ac56afbd63dc1222e649f10435b05e2 (diff) | |
Merge pull request #737 from SherLock707/overviewV2_qs
Overview Widget v2: Migration from AGS to QuickShell
Diffstat (limited to 'config/quickshell/modules/common/Directories.qml')
| -rw-r--r-- | config/quickshell/modules/common/Directories.qml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/config/quickshell/modules/common/Directories.qml b/config/quickshell/modules/common/Directories.qml new file mode 100644 index 00000000..9ddf43bd --- /dev/null +++ b/config/quickshell/modules/common/Directories.qml @@ -0,0 +1,19 @@ +pragma Singleton +pragma ComponentBehavior: Bound + +import "root:/modules/common/functions/file_utils.js" as FileUtils +import Qt.labs.platform +import QtQuick +import Quickshell +import Quickshell.Hyprland + +Singleton { + // XDG Dirs, with "file://" + readonly property string config: StandardPaths.standardLocations(StandardPaths.ConfigLocation)[0] + readonly property string state: StandardPaths.standardLocations(StandardPaths.StateLocation)[0] + + // Other dirs used by the shell, without "file://" + property string shellConfig: FileUtils.trimFileProtocol(`${Directories.config}/quickshell`) + property string shellConfigPath: `${Directories.shellConfig}/config.json` + property string generatedMaterialThemePath: `${Directories.shellConfig}/qml_color.json` +} |
