neofetch icon indicating copy to clipboard operation
neofetch copied to clipboard

Added code to display battery percentage and resolution in termux on android devices

Open tathastu871 opened this issue 4 years ago • 1 comments

Description

Only fill in the fields below if relevant.

Features: Added code to display battery percentage and resolution in termux

Issues

TODO

tathastu871 avatar Oct 29 '21 11:10 tathastu871

Currently code for resolution in termux requires adb to be installed on termux and connected over tcpip. [On android 11 there is feature to enable wireless debug without need of computer and hence this code will work 24 hrs]

In future if termux gets a feature to create screenshot, resolution can be obtained by taking screenshot and obtaining size in pixels of that screenshot using imagemagick or other tool, because the resolution of screenshot image is always equal to screen resolution

tathastu871 avatar Nov 01 '21 02:11 tathastu871