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

Termux #2168

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

Termux #2168

wants to merge 12 commits into from

Conversation

dontknowhy
Copy link

Description

Only fill in the fields below if relevant.
Add Termux detection by using $TERMUX_VERSION
Add Termux's font detection by reading font file in /data/data/com.termux/files/home/.termux/font.ttf

Features

now supports Termux

Issues

TODO

I don't know if I can detect the rows and columns of the terminal in Termux.

@hykilpikonna
Copy link

This works on Termux 0.118 downloaded from Github releases, but it didn't work on Termux 0.101 which is the latest version on Google Play. Is there an alternative method to detect Termux that work on both versions?

hykilpikonna added a commit to hykilpikonna/hyfetch that referenced this pull request Jul 30, 2022
Upstream PR: dylanaraps/neofetch#2168
Thanks to @dontknowhy

Co-authored-by: Don't knowhy <idontknowhy2021@outlook.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 serves as an updated version of neofetch, addressing many pull requests that are not merged in the original repo.

@hykilpikonna
Copy link

Actually this is duplicate for #1923

@dontknowhy
Copy link
Author

This works on Termux 0.118 downloaded from Github releases, but it didn't work on Termux 0.101 which is the latest version on Google Play. Is there an alternative method to detect Termux that work on both versions?

But Google Play version won't receive any update
i think you can check the /data/data/com.termux/files
or you can check**/data/data/com.termux/files/home/.termux**

@dontknowhy
Copy link
Author

dontknowhy commented Aug 1, 2022

This works on Termux 0.118 downloaded from Github releases, but it didn't work on Termux 0.101 which is the latest version on Google Play. Is there an alternative method to detect Termux that work on both versions?

Screenshot_20220801_123244.jpg
u updated half()
also where is my CPU model?(try neofetch's way to get it)

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.

2 participants