summaryrefslogtreecommitdiffstats
path: root/src/btop_config.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/btop_config.hpp')
-rw-r--r--src/btop_config.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/btop_config.hpp b/src/btop_config.hpp
index 8d1d579..3651566 100644
--- a/src/btop_config.hpp
+++ b/src/btop_config.hpp
@@ -58,6 +58,8 @@ namespace Config {
extern vector<string> available_batteries;
extern int current_preset;
+ constexpr int ONE_DAY_MILLIS = 1000 * 60 * 60 * 24;
+
[[nodiscard]] std::optional<std::filesystem::path> get_config_dir() noexcept;
//* Check if string only contains space separated valid names for boxes