1
1
Fork 0

fastfetch: only greet main user

This commit is contained in:
Myned 2025-03-29 18:11:56 -05:00
parent a8255e2442
commit 9bcc8ab467
Signed by: Myned
GPG key ID: C7224454F7881A34

View file

@ -20,8 +20,8 @@ in {
# System info greeting
programs.fish.interactiveShellInit = mkIf cfg.greet ''
# If not root, print greeting
if test (id -u) -ne 0
# If main user, print greeting
if test (whoami) = ${config.custom.username}
function fish_greeting
${fastfetch}
end