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

Termux#2168

Open
dontknowhy wants to merge 12 commits intodylanaraps:masterfrom
dontknowhy:master
Open

Termux#2168
dontknowhy wants to merge 12 commits intodylanaraps:masterfrom
dontknowhy:master

Conversation

@dontknowhy
Copy link
Copy Markdown

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
Copy Markdown

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
Copy Markdown

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
Copy Markdown

Actually this is duplicate for #1923

@dontknowhy
Copy link
Copy Markdown
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
Copy Markdown
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