Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Improve nix support with termite #1134

Closed
wants to merge 2 commits into from
Closed

Improve nix support with termite #1134

wants to merge 2 commits into from

Conversation

bessonm
Copy link

@bessonm bessonm commented Dec 7, 2018

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
neofetch-nix-before

After fix
neofetch-nix-after

Thanks for your work and review :)

ie.
Using Nix, directory /etc/xdg does not exist,
while $XDG_CONFIG_DIRS is set.

Respect XDG directory precedence
  - Break loop on $XDG_CONFIG_DIRS when a config is found
@garbas
Copy link

garbas commented Dec 22, 2020

I can verify that this works. It would be nice to merge this.

hykilpikonna added a commit to hykilpikonna/hyfetch that referenced this pull request Aug 12, 2022
… termite

Upstream PR: dylanaraps/neofetch#1134
Thanks to @bessonm

Co-authored-by: bessonm <besson.mael@gmail.com>
@hykilpikonna
Copy link

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!

@bessonm bessonm closed this Oct 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants