@@ -72,40 +72,40 @@ struct config {
7272 float acrylic_opacity = 0.1 ;
7373 bool use_dwm_if_available = true ;
7474 bool use_self_drawn_border = true ;
75- struct animation {
76- struct main {
77- animated_float_conf y;
78- } main;
79- struct item {
80- animated_float_conf opacity{.delay_scale = 0 .6f };
81- animated_float_conf x{.easing = ui::easing_type::mutation},
82- y;
83- animated_float_conf width;
84- animated_float_conf blur{
85- .easing = ui::easing_type::ease_in_out,
86- .delay_scale = 0 .7f ,
87- };
88- float appear_blur = 2 .5f ;
89- } item;
90- struct bg {
91- animated_float_conf opacity;
92- animated_float_conf x, y, w, h;
93- float appear_w_scale = 0 .6f ;
94- float appear_h_scale = 0 .6f ;
95- } main_bg, submenu_bg;
96- } animation;
97- } theme;
75+ struct animation {
76+ struct main {
77+ animated_float_conf y;
78+ } main;
79+ struct item {
80+ animated_float_conf opacity{.delay_scale = 0 .6f };
81+ animated_float_conf x{.easing = ui::easing_type::mutation},
82+ y;
83+ animated_float_conf width;
84+ animated_float_conf blur{
85+ .easing = ui::easing_type::ease_in_out,
86+ .delay_scale = 0 .7f ,
87+ };
88+ float appear_blur = 2 .5f ;
89+ } item;
90+ struct bg {
91+ animated_float_conf opacity;
92+ animated_float_conf x, y, w, h;
93+ float appear_w_scale = 0 .6f ;
94+ float appear_h_scale = 0 .6f ;
95+ } main_bg, submenu_bg;
96+ } animation;
97+ } theme;
9898
9999 bool vsync = true ;
100100 bool ignore_owner_draw = true ;
101101 bool reverse_if_open_to_up = true ;
102- bool experimental_ownerdraw_support = false ;
103- bool hotkeys = true ;
104- bool show_settings_button = true ;
105- bool patch_explorerframe_dll = true ;
106-
107- // debug purpose only
108- bool search_large_dwItemData_range = false ;
102+ bool experimental_ownerdraw_support = false ;
103+ bool hotkeys = true ;
104+ bool show_settings_button = true ;
105+ bool patch_explorerframe_dll = true ;
106+
107+ // debug purpose only
108+ bool search_large_dwItemData_range = false ;
109109
110110 struct position {
111111 int padding_vertical = 20 ;
@@ -139,8 +139,9 @@ struct config {
139139 static void write_config ();
140140 static void run_config_loader ();
141141 static std::string dump_config ();
142+ static std::string dump_default_config ();
142143
143144 static std::filesystem::path data_directory ();
144145 void apply_fonts_to_nvg (NVGcontext *nvg);
145146};
146- } // namespace mb_shell
147+ } // namespace mb_shell
0 commit comments