aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Config.hpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/include/Config.hpp b/include/Config.hpp
index 522c285..b2abbf1 100644
--- a/include/Config.hpp
+++ b/include/Config.hpp
@@ -30,6 +30,12 @@ namespace QuickMedia {
int max_height = 0;
};
+ struct LocalMangaConfig {
+ std::string directory;
+ bool sort_by_name = false;
+ bool sort_chapters_by_name = false;
+ };
+
struct Config {
Config() = default;
Config(const Config&) = delete;
@@ -40,15 +46,13 @@ namespace QuickMedia {
BodyConfig body;
InputConfig input;
VideoConfig video;
+ LocalMangaConfig local_manga;
bool use_system_fonts = false;
bool use_system_mpv_config = false;
std::string theme = "default";
float scale = 1.0f;
float font_scale = 1.0f;
float spacing_scale = 1.0f;
- std::string local_manga_directory;
- bool local_manga_sort_by_name = false;
- bool local_manga_sort_chapters_by_name = false;
};
const Config& get_config();