From 9bcc8ab46796a98f30c03764ebcd5a743ea3606f Mon Sep 17 00:00:00 2001 From: Myned <dev@bjork.tech> Date: Sat, 29 Mar 2025 18:11:56 -0500 Subject: [PATCH] fastfetch: only greet main user --- options/custom/programs/fastfetch.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/options/custom/programs/fastfetch.nix b/options/custom/programs/fastfetch.nix index b246fad..87b05a1 100644 --- a/options/custom/programs/fastfetch.nix +++ b/options/custom/programs/fastfetch.nix @@ -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