diff options
author | ClementTsang <cjhtsang@uwaterloo.ca> | 2020-02-18 23:03:01 -0500 |
---|---|---|
committer | ClementTsang <cjhtsang@uwaterloo.ca> | 2020-02-18 23:03:01 -0500 |
commit | fd32de2774284f6bf9eb596d7cdf87adfcf9b0ab (patch) | |
tree | c5d0d90657c76d48358a8a027dc86edaf4c14b0f | |
parent | 5131859ab896ad0eb323245fad1ddbc869d2ed93 (diff) |
Add default windows path.
-rw-r--r-- | docs/config.md | 2 | ||||
-rw-r--r-- | src/constants.rs | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/docs/config.md b/docs/config.md index c63aad9e..b6b76553 100644 --- a/docs/config.md +++ b/docs/config.md @@ -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`. diff --git a/src/constants.rs b/src/constants.rs index 72cea6f1..763b5189 100644 --- a/src/constants.rs +++ b/src/constants.rs @@ -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] = [ |