summaryrefslogtreecommitdiff
path: root/src/config/constants.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/constants.rs')
-rw-r--r--src/config/constants.rs23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/config/constants.rs b/src/config/constants.rs
deleted file mode 100644
index 5a8283a..0000000
--- a/src/config/constants.rs
+++ /dev/null
@@ -1,23 +0,0 @@
-use lazy_static::lazy_static;
-
-lazy_static! {
- pub static ref USER_CONFIG_DIR: String = {
- match dirs::config_local_dir() {
- Some(mut d) => {
- d.push("neosheet");
- d.as_path().to_str().unwrap_or("").to_string()
- }
- None => String::new(),
- }
- };
- pub static ref USER_RC_PATH: String = {
- match dirs::config_local_dir() {
- Some(mut d) => {
- d.push("neosheet");
- d.push("init.lua");
- d.as_path().to_str().unwrap_or("").to_string()
- }
- None => String::new(),
- }
- };
-}