neofetch icon indicating copy to clipboard operation
neofetch copied to clipboard

Add detection for Termux terminal

Open easyaspi314 opened this issue 2 years ago • 3 comments

Description

Adds detection for Termux (Termux sets the $TERMUX_VERSION environment variable, but doesn't expose its PID).

Screenshot_20210929-120452

easyaspi314 avatar Sep 29 '21 16:09 easyaspi314

Changed the Termux detection to be after the PPID check. Termux doesn't show its own PID, so this catches an x11 terminal running off Termux.

easyaspi314 avatar Sep 29 '21 16:09 easyaspi314

This shows the terminal as "com.termux" for termux 0.118...

I fixed it by adding a special check

image

image

hykilpikonna avatar Jul 31 '22 21:07 hykilpikonna

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!

image

hykilpikonna avatar Jul 31 '22 21:07 hykilpikonna