From 144d2e55d43c317bb380ade083556c4bda01ff99 Mon Sep 17 00:00:00 2001 From: ediblerope Date: Wed, 8 Apr 2026 13:38:13 +0100 Subject: [PATCH] Switch prompt to bold colored text, drop background segments Background-colored pills were unreadable on dark themes. Use bold foreground colors instead: cyan NixOS icon, yellow hostname, green path. Co-Authored-By: Claude Opus 4.6 --- apps/fastfetch.nix | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/apps/fastfetch.nix b/apps/fastfetch.nix index 69af2cb..a51134c 100644 --- a/apps/fastfetch.nix +++ b/apps/fastfetch.nix @@ -57,22 +57,22 @@ # Nix-shell indicator if set -q IN_NIX_SHELL - set_color -b yellow white - printf ' nix-shell ' + set_color -o yellow + printf '[nix-shell] ' set_color normal - printf ' ' end # Line 1: hostname ~/path - set_color -b green white - printf ' ' - set_color -b yellow white - printf ' %s ' (hostname) - set_color -b blue white - # Path with colored segments + set_color -o cyan + printf ' ' + set_color -o yellow + printf ' %s' (hostname) + set_color normal + printf ' ' + set_color -o green set -l realhome (string escape --style=regex -- $HOME) set -l path (string replace -r "^$realhome" '~' $PWD) - printf ' %s ' $path + printf '%s' $path set_color normal printf '\n'