How To Add File And Folder Icons In Termux | Termux LSD

In This Post I Am Going To Show You How To Add File And Folder Icons In Termux. We Will Add File And Folder Icons Through A Step By Step Process. Actually When We Type The ls Command It Shows The List Of Files And Folders. We Will Install Termux LSD For That. After Using This Method It Will Also Show The Icons For Folders And Files. We Will Install A Script In Termux. We Will Also See The Features And Uses Of This Tool. So Let’s Start,

What Is Termux LSD?

Termux LSD, An Abbreviation For “List, Sort, And Display,” Is A Specialized Command Designed To Beautify The File Listing Process Within Termux. Unlike The Standard ls Command, Termux LSD Introduces A Visual Feast, Where Each File And Folder Is Uniquely Represented With Colors And Icons, Making It Easier For Users To Identify Different File Types At A Glance. This Tool Brings A New Level Of Visual Appeal To The Directory Structure Within Termux, Providing Colorful And Icon-enhanced Representations Of Files And Folders.

Use Of Termux LSD:

What Sets Termux LSD Apart Is Its Ability To Infuse Life Into The ls Command Output. Instead Of The Standard Monochrome Display, Termux LSD Dynamically Changes The Colors Of File Listings, Categorizing Them Based On File Types. Mp3 Files May Shimmer In A Distinctive Pink, While Folders Gracefully Adorn A Soothing Blue Hue. This Dynamic Color Categorization Enhances Not Only The Visual Appeal But Also The User’s Ability To Quickly Identify And Organize Files.

How To Install Termux LSD In Termux?

We Will Install The Termux LSD To Add Beautiful Files And Folder Icons In Termux. Follow The Below Steps To Install Termux LSD In Termux.

First Of All Open The Terminal And Type The Below Commands One By On Or You Can Simply Copy And Paste Them.

Note: All The Letters Are Case Sensitive

  • Giving Termux Storage Permission: First Of All We Will Give Termux Permission To The Main Storage By The Below Command
termux-setup-storage
  • Update And Upgrade Termux: Open Termux And Run The Following Commands To Make Sure Your Package List Is Up To Date And All Installed Packages Are Upgraded.
pkg update && pkg upgrade -y
  • Installing Git In Termux: Termux LSD Tool Is Hosted On Github, And You’ll Need Git To Download It. Install Git By Running.
pkg install git -y
  • Installing Termux LSD In Termux: Type The Below Command To Install Termux LSD In Termux:
pkg install lsd

We Have Installed The Termux LSD Tool In Termux. Now We Will Add Some More Fonts And Requirements.

Also Read: How To Install PhoneInfoga In Termux | Github 2023

How To Add File And Folder Icons In Termux?

After Installing The Termux LSD Follow The Below Commands To Add File And Folder Icons In Termux:

  • Adding Nerd Font: Nerd Font Serves As A Specialized Font That Incorporates Icons To Enhance The Appearance Of Files And Folders. There Are Various Options Available On The Nerd Font Website, And One Popular Choice Is The Hack Nerd Font. The Installation Process Might Seem Complex, But You Can Simplify It By Executing A Straightforward Command In Your Termux Terminal. By Copying And Pasting The Provided Command, The Hack Nerd Font Will Be Automatically Installed On Your Termux. Allowing You To Enjoy Its Unique Icons Seamlessly.
cd && cd .termux && curl -fLo font.zip https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/Hack.zip && mkdir fonts && mv font.zip fonts &&  cd fonts && unzip font.zip && mv "Hack Regular Nerd Font Complete.ttf" .. && cd .. && mv "Hack Regular Nerd Font Complete.ttf" font.ttf && rm -rf fonts
  • Adding Alias: To Enhance The Output Of The ls Command And Utilize The Improved Presentation Offered By lsd, Consider Adding An Alias To Your bash.bashrc File. This Can Be Achieved By Pasting The Provided Command, Ensuring A Permanent Integration Of The Alias. By Doing So, Every Time You Use The ls Command, You’ll Automatically Experience The Enhanced Output Provided By lsd, Optimizing Your File And Directory Listing Experience.
echo alias ls=lsd >> /data/data/com.termux/files/usr/etc/bash.bashrc

We Have Successfully Installed The Beautiful Icons For Files And Folders In The Termux. Now Restart The Termux App To Apply The Changes.

Conclusion:

Termux LSD Proves To Be An Excellent Package For Incorporating Icons Into The Termux Terminal, Adding Simplicity And Aesthetic Appeal. While I Personally Favor The Hack Font, It’s Worth Noting That Users Can Easily Integrate Any Font Of Their Choice. For Those Seeking To Revamp The Appearance Of Their Termux Terminal, Exploring Termux Themes Is Highly Recommended. I Plan To Delve Deeper Into The Realm Of Terminal Customization In Future Posts, Aiming To Provide Diverse And Unique Styles For Terminal Enthusiasts. Stay Tuned For More Insights And Tips On Tailoring Your Terminal To Suit Your Individual Preferences.

Frequently Asked Questions About Adding File And Folder Icons:

Can We Add File And Folder Icons In Termux?

Yes, One Can Add Beautiful File And Folder Icons Using The Termux LSD Tool.

What Is The Termux LSD?

Termux LSD Is A Tool Used To Customize Termux By Adding File And Folder Icons.

Is Termux LSD Also Available For Linux?

No It Will Not Work Properly On Linux.

Dive Into The World Of Tech With Me.

Leave a comment