From 7eff415b252c8c8deb7aff5030020c54ba7ce651 Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Fri, 4 Jul 2025 20:06:22 -0700 Subject: [PATCH] core/qmlglobal: re-add shellRoot as a deprecated property --- src/core/qmlglobal.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/qmlglobal.hpp b/src/core/qmlglobal.hpp index 82442ce3..d05b96d4 100644 --- a/src/core/qmlglobal.hpp +++ b/src/core/qmlglobal.hpp @@ -109,6 +109,8 @@ class QuickshellGlobal: public QObject { /// The root directory is the folder containing the entrypoint to your shell, often referred /// to as `shell.qml`. Q_PROPERTY(QString configDir READ configDir CONSTANT); + /// > [!WARNING] Deprecated: Returns @@configDir. + Q_PROPERTY(QString shellRoot READ configDir CONSTANT); /// Quickshell's working directory. Defaults to whereever quickshell was launched from. Q_PROPERTY(QString workingDirectory READ workingDirectory WRITE setWorkingDirectory NOTIFY workingDirectoryChanged); /// If true then the configuration will be reloaded whenever any files change.