summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/constants.rs5
-rw-r--r--src/lib.rs2
2 files changed, 5 insertions, 2 deletions
diff --git a/src/constants.rs b/src/constants.rs
index 713e7dcc..5a9f4220 100644
--- a/src/constants.rs
+++ b/src/constants.rs
@@ -430,7 +430,8 @@ pub const DEFAULT_BATTERY_LAYOUT: &str = r##"
// Config and flags
pub const DEFAULT_CONFIG_FILE_PATH: &str = "bottom/bottom.toml";
-pub const OLD_CONFIG_TEXT: &str = r##"# This is a default config file for bottom. All of the settings are commented
+// TODO: Eventually deprecate this.
+pub const CONFIG_TEXT: &str = r##"# This is a default config file for bottom. All of the settings are commented
# out by default; if you wish to change them uncomment and modify as you see
# fit.
@@ -495,6 +496,8 @@ pub const OLD_CONFIG_TEXT: &str = r##"# This is a default config file for bottom
#network_use_bytes = false
# Displays the network widget with a log scale.
#network_use_log = false
+# Show a more advanced process kill screen
+#advanced_kill = false
# These are all the components that support custom theming. Note that colour support
# will depend on terminal support.
diff --git a/src/lib.rs b/src/lib.rs
index 6a287f96..9a7c489d 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -228,7 +228,7 @@ pub fn create_or_get_config(config_path: &Option<PathBuf>) -> error::Result<Conf
fs::create_dir_all(parent_path)?;
}
// fs::File::create(path)?.write_all(CONFIG_TOP_HEAD.as_bytes())?;
- fs::File::create(path)?.write_all(OLD_CONFIG_TEXT.as_bytes())?;
+ fs::File::create(path)?.write_all(CONFIG_TEXT.as_bytes())?;
Ok(Config::default())
}
} else {