diff --git a/README.md b/README.md index 1a06f7ff..e4166ec1 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ Run using `btm`. - `-R`, `--regex` will default to using regex. -when searching processes. +- `-C`, `--config` takes in a file path leading to a TOML file, where one can set flags by default. The default path this will check is, on Linux, `~/.config/btm/btm.toml`. Options are the same as the long names as other flags (ie: `regex = true`). See the sample config for an example. ### Keybindings diff --git a/src/constants.rs b/src/constants.rs index 2dbb546d..cc7d690c 100644 --- a/src/constants.rs +++ b/src/constants.rs @@ -6,7 +6,7 @@ pub const MAX_KEY_TIMEOUT_IN_MILLISECONDS: u128 = 1000; pub const NUM_COLOURS: i32 = 256; // Config and flags -pub const DEFAULT_CONFIG_FILE_PATH: &str = "~/.config/btm/btm.conf"; +pub const DEFAULT_CONFIG_FILE_PATH: &str = "~/.config/btm/btm.toml"; pub const KELVIN: &str = "kelvin"; pub const FAHRENHEIT: &str = "fahrenheit";