From 75525db821f61284fe0f19b0c0acb0c457c3874c Mon Sep 17 00:00:00 2001 From: ediblerope Date: Sat, 20 Dec 2025 22:37:20 +0000 Subject: [PATCH] Update fastfetch.nix --- apps/fastfetch.nix | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/apps/fastfetch.nix b/apps/fastfetch.nix index 40549ba..c00b15d 100644 --- a/apps/fastfetch.nix +++ b/apps/fastfetch.nix @@ -13,26 +13,25 @@ nerd-fonts.meslo-lg ]; - # Create a wrapper script that chooses a random logo - environment.etc."fastfetch/random-logo.sh" = { - text = '' - #!/bin/sh - logos=("RavynOS" "PuffOS" "PearOS" "locos" "GNOME" "eweOS" "DarkOS" "BredOS" "AmogOS") - random_logo=''${logos[$RANDOM % ''${#logos[@]}]} - ${pkgs.fastfetch}/bin/fastfetch --config /etc/fastfetch/config.jsonc --logo $random_logo - ''; - mode = "0755"; + # Download your custom image from GitHub + environment.etc."fastfetch/logo.png".source = pkgs.fetchurl { + url = "https://raw.githubusercontent.com/ediblerope/nixos-config/main/walls/owventures.png"; + sha256 = "0000000000000000000000000000000000000000000000000000"; }; - # Create the fastfetch config file with unicode icons + # Create the fastfetch config file with custom image environment.etc."fastfetch/config.jsonc".text = '' { "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", "logo": { - "source": "DarkOS", + "source": "/etc/fastfetch/logo.png", + "type": "kitty-direct", + "width": 30, + "height": 15, "padding": { "top": 1, - "left": 2 + "left": 2, + "right": 4 } }, "display": {