summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 7862bba..78227ab 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -76,7 +76,7 @@ lazy_static! {
static ref HOME_DIR: Option<PathBuf> = dirs_next::home_dir();
- static ref USERNAME: String = whoami::fallible::realname().unwrap_or("No Username".to_string());
+ static ref USERNAME: String = whoami::fallible::username().unwrap_or("No Username".to_string());
static ref HOSTNAME: String = whoami::fallible::hostname().unwrap_or("No Hostname".to_string());
static ref TIMEZONE_STR: String = {