fix: correct fastfetch config

This commit is contained in:
Youwen Wu 2024-12-01 18:50:12 -08:00
parent ca8b1e04fe
commit 0de011e044
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
2 changed files with 8 additions and 10 deletions

View file

@ -1,13 +1,5 @@
{
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
"logo": {
"source": "~/.local/share/fastfetch/images/nixos-logo.png",
"type": "kitty",
"height": 18,
"padding": {
"top": 2
}
},
"display": {
"separator": " "
},

View file

@ -12,8 +12,14 @@ in
settings = (
fastfetchConfig
// {
logo.type = if kitty == "cassini" then "auto" else "kitty";
logo.source = ./nixos-logo.png;
logo = {
height = 18;
padding = {
top = 2;
};
type = if kitty == "cassini" then "auto" else "kitty";
source = ./nixos-logo.png;
};
}
);
};