From 5453d9bffda8e174d541c750eca3e58e9c9fa1d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luter=C3=A1n=20Lajos?= Date: Thu, 14 Mar 2024 00:41:13 +0100 Subject: [PATCH] fix: hey use my username not my real name :D MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: LuterĂ¡n Lajos --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 7862bba6a..78227ab7d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -76,7 +76,7 @@ lazy_static! { static ref HOME_DIR: Option = 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 = {