Add default windows path.

This commit is contained in:
ClementTsang 2020-02-18 23:03:01 -05:00
parent 5131859ab8
commit fd32de2774
2 changed files with 2 additions and 4 deletions

View File

@ -33,4 +33,4 @@ Another use is to set colours, under the `[colors]`. The following labels are cu
bottom will check specific locations by default for a config file.
- For Unix-based systems: `~/.config/btm/btm.toml`.
- For Windows: TBD.
- For Windows: `./btm.toml`.

View File

@ -7,9 +7,7 @@ pub const NUM_COLOURS: i32 = 256;
// Config and flags
pub const DEFAULT_UNIX_CONFIG_FILE_PATH: &str = "~/.config/btm/btm.toml";
// TODO: [CONF] Default windows path?
pub const DEFAULT_WINDOWS_CONFIG_FILE_PATH: &str = "";
pub const DEFAULT_WINDOWS_CONFIG_FILE_PATH: &str = "./btm.toml";
// Help text
pub const GENERAL_HELP_TEXT: [&str; 15] = [