From 0de011e044062dbd30f926017dc157291fc275ae Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Sun, 1 Dec 2024 18:50:12 -0800 Subject: [PATCH] fix: correct fastfetch config --- users/youwen/common/fastfetch/config.json | 8 -------- users/youwen/common/fastfetch/default.nix | 10 ++++++++-- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/users/youwen/common/fastfetch/config.json b/users/youwen/common/fastfetch/config.json index d0161da..2021c56 100644 --- a/users/youwen/common/fastfetch/config.json +++ b/users/youwen/common/fastfetch/config.json @@ -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": " " }, diff --git a/users/youwen/common/fastfetch/default.nix b/users/youwen/common/fastfetch/default.nix index f23e519..59926c0 100644 --- a/users/youwen/common/fastfetch/default.nix +++ b/users/youwen/common/fastfetch/default.nix @@ -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; + }; } ); };