tab:preset setting

This commit is contained in:
sawka 2024-12-09 13:11:08 -08:00
parent cf9d24a834
commit d694249b7f
3 changed files with 5 additions and 0 deletions

View File

@ -638,6 +638,7 @@ declare global {
"autoupdate:installonquit"?: boolean;
"autoupdate:channel"?: string;
"preview:showhiddenfiles"?: boolean;
"tab:preset"?: string;
"widget:*"?: boolean;
"widget:showhelp"?: boolean;
"window:*"?: boolean;

View File

@ -48,6 +48,8 @@ const (
ConfigKey_PreviewShowHiddenFiles = "preview:showhiddenfiles"
ConfigKey_TabPreset = "tab:preset"
ConfigKey_WidgetClear = "widget:*"
ConfigKey_WidgetShowHelp = "widget:showhelp"

View File

@ -75,6 +75,8 @@ type SettingsType struct {
PreviewShowHiddenFiles *bool `json:"preview:showhiddenfiles,omitempty"`
TabPreset string `json:"tab:preset,omitempty"`
WidgetClear bool `json:"widget:*,omitempty"`
WidgetShowHelp *bool `json:"widget:showhelp,omitempty"`