feat: persist widget style changes

This commit is contained in:
CJ van den Berg 2025-08-14 15:55:09 +02:00
parent a27c212461
commit 0c19cbd82d
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
10 changed files with 103 additions and 113 deletions

View file

@ -36,6 +36,11 @@ show_fileicons: bool = true,
start_debugger_on_crash: bool = false,
widget_style: WidgetStyle = .compact,
palette_style: WidgetStyle = .bars_top_bottom,
panel_style: WidgetStyle = .compact,
home_style: WidgetStyle = .bars_left_right,
include_files: []const u8 = "",
pub const DigitStyle = enum {
@ -56,3 +61,25 @@ pub const IndentMode = enum {
spaces,
tabs,
};
pub const WidgetType = enum {
none,
palette,
panel,
home,
};
pub const WidgetStyle = enum {
compact,
spacious,
boxed,
double_boxed,
rounded_boxed,
single_double_top_bottom_boxed,
single_double_left_right_boxed,
dotted_boxed,
thick_boxed,
extra_thick_boxed,
bars_top_bottom,
bars_left_right,
};