summaryrefslogtreecommitdiffstats
path: root/src/options.rs
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2021-07-14 19:08:54 -0400
committerGitHub <noreply@github.com>2021-07-14 19:08:54 -0400
commit968b7bb2def503da068f9579384c34e2b2d3a506 (patch)
tree5d0b59aa59f4dd16875cd0cf72895b303fb6e831 /src/options.rs
parent7392b56364ef0df321160e519eb29c287ae94622 (diff)
bug: Fix missing config options in docs and default config (#542)
Adds the missing hide_time and battery config option to the default config and corresponding documentation. Should probably automate the generation of this somehow tbh, though this might change when I add in-app config (soon™)
Diffstat (limited to 'src/options.rs')
-rw-r--r--src/options.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/options.rs b/src/options.rs
index dd1ce026..facd42fe 100644
--- a/src/options.rs
+++ b/src/options.rs
@@ -80,9 +80,6 @@ pub struct ConfigFlags {
pub regex: Option<bool>,
#[builder(default, setter(strip_option))]
- pub default_widget: Option<String>,
-
- #[builder(default, setter(strip_option))]
pub basic: Option<bool>,
#[builder(default, setter(strip_option))]
@@ -145,6 +142,7 @@ pub struct ConfigFlags {
#[builder(default, setter(strip_option))]
pub search_regex_enabled_widgets: Option<Vec<WidgetIdEnabled>>,
+ // End hack
#[builder(default, setter(strip_option))]
pub mem_as_value: Option<bool>,