fastfetch: only greet main user
This commit is contained in:
parent
a8255e2442
commit
9bcc8ab467
1 changed files with 2 additions and 2 deletions
|
@ -20,8 +20,8 @@ in {
|
||||||
|
|
||||||
# System info greeting
|
# System info greeting
|
||||||
programs.fish.interactiveShellInit = mkIf cfg.greet ''
|
programs.fish.interactiveShellInit = mkIf cfg.greet ''
|
||||||
# If not root, print greeting
|
# If main user, print greeting
|
||||||
if test (id -u) -ne 0
|
if test (whoami) = ${config.custom.username}
|
||||||
function fish_greeting
|
function fish_greeting
|
||||||
${fastfetch}
|
${fastfetch}
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue