more unfinished changes, process tab for dashboard
This commit is contained in:
@@ -1,29 +1,25 @@
|
||||
#pragma once
|
||||
#include "configobject.hpp"
|
||||
#include "common.hpp"
|
||||
#include <QStringList>
|
||||
#include <qqmlintegration.h>
|
||||
|
||||
namespace ZShell::config {
|
||||
|
||||
class Dock : public ConfigObject {
|
||||
Q_OBJECT
|
||||
QML_ANONYMOUS
|
||||
class Dock : public settings::ObjectNode {
|
||||
CONFIG_NODE(Dock, settings::ObjectNode)
|
||||
|
||||
CFG_PROPERTY(bool, enable, false)
|
||||
CFG_PROPERTY(int, height, 80)
|
||||
CFG_PROPERTY(bool, hoverToReveal, false)
|
||||
CFG_PROPERTY(QStringList, ignoredAppRegexes, {})
|
||||
CFG_PROPERTY(
|
||||
CONFIG_PROPERTY(bool, enable, false)
|
||||
CONFIG_PROPERTY(int, height, 80)
|
||||
CONFIG_PROPERTY(bool, hoverToReveal, false)
|
||||
CONFIG_PROPERTY(QStringList, ignoredAppRegexes, {})
|
||||
CONFIG_PROPERTY(
|
||||
QStringList,
|
||||
pinnedApps,
|
||||
(QStringList{
|
||||
QStringLiteral("com.ayugram.desktop"),
|
||||
QStringLiteral("com.obsproject.studio"),
|
||||
QStringLiteral("librewolf")}))
|
||||
CFG_PROPERTY(bool, pinnedOnStartup, false)
|
||||
|
||||
public:
|
||||
explicit Dock(QObject* parent = nullptr) : ConfigObject(parent) {}
|
||||
CONFIG_PROPERTY(bool, pinnedOnStartup, false)
|
||||
};
|
||||
|
||||
} // namespace ZShell::config
|
||||
|
||||
Reference in New Issue
Block a user