termux / termux-styling Goto Github PK
View Code? Open in Web Editor NEWTermux add-on app for customizing the terminal font and color theme.
Home Page: https://f-droid.org/en/packages/com.termux.styling/
License: Other
Termux add-on app for customizing the terminal font and color theme.
Home Page: https://f-droid.org/en/packages/com.termux.styling/
License: Other
Feature description
A variation of the default Termux style with green foreground instead of white would be appreciated, as it's a common option for default terminals on other platforms, including MacOS, GNOME, KDE, and Haiku.
Fira Code is a Fira Mono font extended with a set of ligatures for common programming multi-character combinations. This is just a font rendering feature: underlying code remains ASCII-compatible. This helps to read and understand code faster.
https://github.com/tonsky/FiraCode
There are other terminals that work (Konsole) and some that don't work (iTerm 2, rxvt):
Could you please add this style is Uber retro
https://marketplace.visualstudio.com/items?itemName=RobbOwen.synthwave-vscode
Hi, would it be possible to use nerd fonts instead of just powerline patched fonts?
https://github.com/ryanoasis/nerd-fonts I use some font awesome glyphs on my tmux status bar that currently are not displayed in termux, this should fix that.
Is it possible to add more fonts like Roboto Mono, Meslo and etc.? Current ones a bit bad for me.
Could you please consider adding support for base16-materia?
foreground= #c9ccd3
background= #263238
cursor= #c9ccd3
color0= #2c393f
color1= #8bd649
color2= #82aaff
color3= #89ddff
color4= #ea9560
color5= #ec5f67
color6= #ec5f67
color7= #cdd3de
color8= #707880
color9= #8bd649
color10= #82aaff
color11= #89ddff
color12= #ea9560
color13= #ec5f67
color14= #ffffff
color15= #d5dbe6
Just discovered Termux today and was wondering if termux:styling would include compositing the background color over a still-frame wallpaper at a user-set opacity. Would make the background of Termux more interesting. I noticed termux:float had some kind of window-transparency, so I assumed it should be possible.
Just a suggestion really - not sure if it's in the scope of interest.
The Solarized Light style (solarized-light.properties
) incorrectly reverses light/dark accent colors. In particular, color0
- color15
should be identical between the light and dark variants of the color scheme, with the only changes being to the foreground and background colors.
An easy way to see this is to use the official ViM Solarized color scheme (or any of the other variants out there); colors are currently only displayed correctly for Termux's Solarized Light style when ViM's background
is set to dark
(opposite of what it should be).
The attached zip file contains a version of the Solarized Light style that should fix this issue, as well as a patch between the old and new file (if so desired).
Another fine font family suitable for terminals in IMHO is Iosevka (https://be5invis.github.io/Iosevka/). It even has special versions for terminals.
Kind regards,
Heinz
I realize you can't include every font that users might request, but this really should be a font to consider if you're including monospaced fonts that are actually popular with shell users.
what color properties in the colors.properties file control what?
for example, what color is color0 controlling?
the ones below are obvious but what colors do the non-descript colors control
foreground=#a5a2a2
background=#090300
cursor=#a5a2a2
Hi
If the permissions for ~/.termux/
are weird, Termux:Styling crashes if a change is made.
chmod 000 ~/.termux
-> Change color
As of Android 6.0 this also happens if the ~/.termux/
directory is symlinked to somewhere on the sdcard. Probably because Termux:Styling doesn't ask for storage permissions.
I think it should at least display a meaningful error message and not crash.
Apologies in advance if this is the wrong place to report. On my pixelbook, when I try to purchase Termux:styling, the price is striked out (line through text) and there's a message "This app may not be optimized for your device". Can't install. Is there a way to purchase and use this on a chromebook (with android support)?
It would be nice to have be able to set our own colours. This cant be too hard to implement.
Can you add this one?
Please add JetBrainsMono
Would you guys consider adding this font to the app in the next update? It's pretty nice.
device: asus chromebook flip c302
OS: Version 71.0.3578.27 (Official Build) beta (64-bit)
You can see in this video
https://youtu.be/-Py_SKXo8cs
that there appears to be no appreciable difference in size between the default and the 16
Is this something that is going to be addressed in the near future?
Can't tell if it's already included, but would it be possible to include/replace Source Code Pro's nerd font equivalent - Sauce Code Pro?
Tried to install APK on Google Pixel 2XL from F-droid version 0.24.
Failed while installing application.
I like itu termux
I usually use the black-on-white
scheme, but this issue applies to a number of other color schemes as well.
The theme has:
background: #FFFFFF
foreground: #000000
When the cursor is over a non-blank character, both the cursor and the character are solid black.
I've worked around this by adding:
cursor: #B0B0B0
(and copying the file to $HOME/.termux/color.properties
and running termux-reload-settings
). This sets the cursor to light gray, which makes for a decent contrast with the foreground and background colors. (Perhaps there's a way to automate selecting the best color.)
More generally, the cursor
color should contrast well with both the foreground
and background
colors.
More ambitiously, I suggest adding a cursortext
field, specifying the color of text under the cursor. (PuTTY has a similar feature.) This would require changes in
termux-app/terminal-emulator/src/main/java/com/termux/terminal/TextStyle.java
and probably elsewhere.
Is it possible to refresh the nerd fonts you use in styling?
Currently missing are the glyphs for source control and Python (0xe907 and 0xe928) that I noticed.
Thank you for such an excellent application! Delighted to pay for it.
Please sir your app is really awesome but we wanna install set toolkit in it please add to termux packages or please send a method that works well in install Social-Engneering-Toolkit without root:).
Please sir hope you will fix this issue in future!
I love the feature that allows to copy urls but I noticed that if an url is spanning on multiple lines (in weechat for example), termux only copy the first line.
I don't know if this really is a bug as there might not be any way to tell where the end of the url is.
When attempting to install via F-Droid it requires permissions to:
Phone state/identity
Read/Send text messages
Take pictures/video
Record audio
Net/GPS location
Read contacts
Read/write SD card
Full net access
Draw over apps
Prevent sleep
Transmit infrared!?
These permissions don't quite seem quite right.. am I missing somthing?
https://play.google.com/work/search?q=termux&c=apps
(Only Termux and Termux:Api are available)
Error package installing
First of all: thanks for Termux and this styling addon, I use it every day to develop and work with my servers. It simply is great.
I noticed the update of termux-styling today in the Playstore, and also saw that Nerd fonts was updated in November of last year. Since then, a release with quite some improvements has been done.
It would be cool if this version of nerd-fonts could be included.
Anyway, thanks for Termux!
If you write a custom color scheme the font will not load when an unkown propertie is specified.
I use https://terminal.sexy/ to create my color schemes and selected "Termite" as an export option. I removed the [colors]
line. It however sets foreground_bold = #c5c8c6
. Having that line in your colors.properties
will stop the font from loading. Indeed any property = value
, that Termux doesn't understand will cause it to not load the font.
1.Ibm plex truetype fonts
https://github.com/IBM/plex.
2.Hack fonts
https://github.com/source-foundry/Hack
I want to these fonts.
Some of us prefer to use proprietary fonts like like Operator Mono or PragmataPro which obviously can't be included in termux-styling.
Can we please have a way to easily add these fonts afterwards?
Hey there, I really like both termux and the styling addon for it!
I personally really like the Nord theme () and I use it on all my devcices, but unfortunately termux doesn't allow for custom colors. Termux has a color scheme, Ocean Dark, which is very similar to Nord, but is nonetheless distinctly different as well.
I would appreciate it, if something like this could be looked into. :)
Edit: I really like the Nord scheme and I unofficially ported it to termux. Is it possible to contact the creator(s) and include it among the standard ones?
foreground= #d8dee9
background= #2e3440
cursor= #d8dee9
color0= #3b4252
color1= #bf616a
color2= #a3be8c
color3= #ebcb8b
color4= #81a1c1
color5= #b48ead
color6= #88c0d0
color7= #e5e8f0
color8= #4c566a
color9= #bf616a
color10= #a3be8c
color11= #ebcb8b
color12= #81a1c1
color13= #b48ead
color14= #8fbcbb
color15= #eceff4
Termux font app doesn't download in my handset.
It gives apps downloading since 3 hrs. I already paid payment.
I have purchased termux styling from Google play store but i think it's a waste of money for me as i can't get colours working ,I'm on stock miui ROM it supports the colours but it overlay it i need help
As mentioned by @sedrubal here and here we probably need a way to show the license and additional information for fonts and themes.
A possible solution: For each ${FONT}.ttf
make it possible to create a file ${FONT}.txt
containing license and attribution (and probably a link to the creator site). Likewise for ${COLORTHEME}.properties
(or have the license/attribution inline as a property for themes). Then make a long press on a font or theme show the license/attribution with hyperlinks.
Thoughts?
Hello,
I regularly use the Smyck color scheme on my Mac, so I ported it for
using with Termux. Thought I'd share, please consider adding it:
#https://github.com/hukl/Smyck-Color-Scheme/blob/master/colors
background=#212121
foreground=#f7f7f7
cursor=#218693
color0=#000000
color1=#c75646
color2=#8eb33b
color3=#d0b03c
color4=#4e90a7
color5=#c8a0d1
color6=#218693
color7=#b0b0b0
color9=#e09690
color8=#5d5d5d
color10=#cdee69
color11=#ffe377
color12=#9cd9f0
color13=#fbb1f9
color14=#77dfd8
color15=#f7f7f7
Thanks for making Termux, it's awesome. Keep up the good work. ๐
Awesome app, save me buying a new computer as I can now use my chromebooks for dev work. the only problem is I cant download the styling app in my country. Please make it available for download in West Africa
Howdy, my favorite monospace font is monofur.
it's listed as 100% freeware, any chance it could be included in the termux:styling font set?
THX!
Add .ttf custom font
Would it be possible for termux-styling to respect symlinks when writing files?
I want to symlink as much as possible from another directory to sync between devices.
When the .termux directory is symlinked ot somewhere on the sdcard chsh will fail, because of execution permission. So I tried just symlinking the color.properties and the font.ttf, but as soon as I change color or font the file gets rewritten, loosing it's symlink.
selecting colors and fonts have no effect!
Attempting to install termux-styling 0.10 yields the above error message. Verizon Galaxy S6, Android version 5.1.1
Sometimes it's very hard to read the character which the cursor is on because of low contrast. It would be nice if this add-on had a way of changing it's colour.
Theme repo: https://github.com/nashamri/spacemacs-theme
Main repo: https://github.com/syl20bnr/spacemacs
Thanks for considering it :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.