mirror of
https://git.outfoxxed.me/quickshell/quickshell.git
synced 2025-11-04 19:04:56 +11:00
core: add DataDir and StateDir pragmas
This commit is contained in:
parent
a05c0de53b
commit
325a51c82d
4 changed files with 47 additions and 11 deletions
|
|
@ -16,7 +16,7 @@ QDataStream& operator>>(QDataStream& stream, InstanceLockInfo& info);
|
|||
class QsPaths {
|
||||
public:
|
||||
static QsPaths* instance();
|
||||
static void init(QString shellId, QString pathId);
|
||||
static void init(QString shellId, QString pathId, QString dataOverride, QString stateOverride);
|
||||
static QDir crashDir(const QString& id);
|
||||
static QString basePath(const QString& id);
|
||||
static QString ipcPath(const QString& id);
|
||||
|
|
@ -57,4 +57,7 @@ private:
|
|||
DirState shellDataState = DirState::Unknown;
|
||||
DirState shellStateState = DirState::Unknown;
|
||||
DirState shellCacheState = DirState::Unknown;
|
||||
|
||||
QString shellDataOverride;
|
||||
QString shellStateOverride;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue