diff --git a/neofetch b/neofetch index 62a420f1..34a3020b 100755 --- a/neofetch +++ b/neofetch @@ -2887,9 +2887,9 @@ get_term() { term="${name##*/}" # Fix wrapper names in NixOS. - [[ "$term" == .*-wrapped ]] && { + [[ "$term" == .*-wrap* ]] && { term="${term#.}" - term="${term%-wrapped}" + term="${term%-wrap*}" } ;; esac