neofetch
neofetch copied to clipboard
Improve nix support with termite
Hi,
Using Nix some apps get wrapped, hence a name like ".APP-wrapped", causing later failure when matching a terminal name for font detection.
Moreover, for termite, directory /etc/xdg does not exist with NixOS, while $XDG_CONFIG_DIRS is set, which needed additional lookup. (I didn't explore with other terminal yet, but the problem might occur for others)
Before fix
After fix
Thanks for your work and review :)
I can verify that this works. It would be nice to merge this.
Thank you for your contribution!
This PR is merged into hyfetch since this repo (dylanaraps/neofetch) seems no longer maintained.
HyFetch is a fork of neofetch with LGBTQ pride flags, but the repo also maintains an updated version of the original neofetch, addressing many pull requests that are not merged in the original repo.
Read the "Running Updated Original Neofetch" section for more info!