From ef11592f81dca2932f0dfdffcccb680815ca2635 Mon Sep 17 00:00:00 2001 From: ediblerope Date: Wed, 3 Dec 2025 21:23:04 +0000 Subject: [PATCH] Update fastfetch.nix --- apps/fastfetch.nix | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/apps/fastfetch.nix b/apps/fastfetch.nix index bb3a4a9..689b763 100644 --- a/apps/fastfetch.nix +++ b/apps/fastfetch.nix @@ -14,17 +14,15 @@ ]; # 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 - ''; - - # Make the script executable - system.activationScripts.fastfetchScript = '' - chmod +x /etc/fastfetch/random-logo.sh - ''; + 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"; + }; # Create the fastfetch config file with unicode icons environment.etc."fastfetch/config.jsonc".text = ''