nyx: Add time offset

The epoch is based on HOS format.

An automatic time set will be implemented in a later version.
This commit is contained in:
CTCaer committed 2020-04-30 14:51:48 +03:00
1 parent 6d75f96ed5
commit c072041039
4 files changed
+12 -1

No files matched your search

+2
View File
@@ -264,6 +264,8 @@ void load_saved_configuration()
{
if (!strcmp("themecolor", kv->key))
n_cfg.themecolor = atoi(kv->val);
else if (!strcmp("timeoff", kv->key))
n_cfg.timeoff = strtol(kv->val, NULL, 16);
else if (!strcmp("homescreen", kv->key))
n_cfg.home_screen = atoi(kv->val);
else if (!strcmp("verification", kv->key))