feat: config object migration path and add new options to settings
This commit is contained in:
@@ -10,7 +10,6 @@ namespace ZShell::services {
|
||||
|
||||
namespace {
|
||||
constexpr const char* NL_EVENT = "zshell-nightlight";
|
||||
constexpr int NEUTRAL_KELVIN = 6500;
|
||||
constexpr int RECONNECT_MS = 2000;
|
||||
} // namespace
|
||||
|
||||
@@ -404,7 +403,6 @@ void NightlightManager::handleEventLine(const QByteArray& line) {
|
||||
|
||||
if (line.left(sep) != NL_EVENT) return;
|
||||
|
||||
// data = enabled,animating,last,current
|
||||
const auto fields = line.mid(sep + 2).split(',');
|
||||
if (fields.size() < 4) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user