feat: persist widget style changes
This commit is contained in:
parent
a27c212461
commit
0c19cbd82d
10 changed files with 103 additions and 113 deletions
|
@ -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,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue