forked from quickshell/quickshell
core!: refactor launch sequence
Also includes slight changes to the command syntax. See --help for details.
This commit is contained in:
parent
da043e092a
commit
94e881e6b0
12 changed files with 729 additions and 651 deletions
|
@ -1,13 +1,13 @@
|
|||
#pragma once
|
||||
|
||||
#include <qdatetime.h>
|
||||
#include <qlogging.h>
|
||||
#include <qstring.h>
|
||||
|
||||
struct InstanceInfo {
|
||||
QString instanceId;
|
||||
QString configPath;
|
||||
QString shellId;
|
||||
QString initialWorkdir;
|
||||
QDateTime launchTime;
|
||||
|
||||
static InstanceInfo CURRENT; // NOLINT
|
||||
|
@ -16,7 +16,10 @@ struct InstanceInfo {
|
|||
struct RelaunchInfo {
|
||||
InstanceInfo instance;
|
||||
bool noColor = false;
|
||||
bool timestamp = false;
|
||||
bool sparseLogsOnly = false;
|
||||
QtMsgType defaultLogLevel = QtWarningMsg;
|
||||
QString logRules;
|
||||
};
|
||||
|
||||
QDataStream& operator<<(QDataStream& stream, const InstanceInfo& info);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue