more unfinished changes, process tab for dashboard
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
#include "common.hpp"
|
||||
#include <qqmlintegration.h>
|
||||
|
||||
namespace ZShell::config {
|
||||
|
||||
class Nightlight : public settings::ObjectNode {
|
||||
CONFIG_NODE(Nightlight, settings::ObjectNode)
|
||||
|
||||
CONFIG_PROPERTY(bool, schedule, true)
|
||||
CONFIG_PROPERTY(int, scheduleStart, 1200)
|
||||
CONFIG_PROPERTY(int, scheduleEnd, 570)
|
||||
CONFIG_PROPERTY(bool, useNative, true)
|
||||
CONFIG_PROPERTY(int, fadeDuration, 2000)
|
||||
CONFIG_PROPERTY(int, temp, 2600)
|
||||
};
|
||||
|
||||
class Display : public settings::ObjectNode {
|
||||
CONFIG_NODE(Display, settings::ObjectNode)
|
||||
|
||||
CONFIG_SUBOBJECT(Nightlight, nightlight)
|
||||
};
|
||||
|
||||
} // namespace ZShell::config
|
||||
Reference in New Issue
Block a user