Giter Club home page Giter Club logo

termux-styling's Introduction

Termux:Styling

Build status Join the chat at https://gitter.im/termux/termux

A Termux add-on app to customize the terminal font and color theme.

When developing (or packaging), note that this app needs to be signed with the same key as the main Termux app in order to have the permission to modify the required font or color files.

Installation

Termux:Styling application can be obtained from F-Droid.

Additionally we provide per-commit debug builds for those who want to try out the latest features or test their pull request. This build can be obtained from one of the workflow runs listed on Github Actions page.

Signature keys of all offered builds are different. Before you switch the installation source, you will have to uninstall the Termux application and all currently installed plugins. Check https://github.com/termux/termux-app#Installation for more info.

How to use

  1. When inside Termux, long press anywhere on the terminal.
  2. Select More... in the resulting dialog.
  3. Select Style in the next dialog.
  4. Click either CHOOSE COLOR or CHOOSE FONT depending on what you want to customize.

termux-styling's People

Contributors

agnostic-apollo avatar alive4ever avatar colin4124 avatar cpixl avatar deicpro avatar dependabot[bot] avatar fornwall avatar grimler91 avatar iamafnan avatar khinsen avatar kidonng avatar kn4ck3r avatar landfillbaby avatar lassipulkkinen avatar lazerl0rd avatar lokesh-krishna avatar mamg22 avatar neo-oli avatar quangkr avatar red54 avatar rubyowo avatar thatonecalculator avatar tomjo2000 avatar zorro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

termux-styling's Issues

๐Ÿ”˜/โšช Radio button 4 theme selection

There's no easy way show what the current theme is

When trying out various themes having an indication of the current state makes it easy to find and then select the next theme down!

  • ๐Ÿ”˜ U+1F518 selected

  • โšช U+26AA unselected

termuxRadioButton

IMHO; emoji characters make the better buttons :neckbeard:

Nerd fonts 2.0.0 has been released in April

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!

Links on multiple lines cannot be copied

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.

Please add support for set toolkit in termux sir please:(

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!

font request

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!

Can't read character under cursor

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.

font selection is limited NEED BIG FONTS

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?

Add option for cursor face custimization

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.

Crash if permissions of ~/.termux are wonky.

Hi
If the permissions for ~/.termux/ are weird, Termux:Styling crashes if a change is made.
chmod 000 ~/.termux
-> Change color
capture

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.

Requesting wallpaper compositing background

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.

Not Available in my country!

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

Font isn't loading when there are unknown properties in color.properties

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.

#Help I'm not getting colors

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

update nerd fonts: Github, Python symbols missing

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.

What colors control what?

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

Customizable

It would be nice to have be able to set our own colours. This cant be too hard to implement.

Solarized Light style incorrectly reverses light/dark colors

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).

solarized-light.zip

Theme request: basic green on black

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.

Strange Permission requirements?

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?

Roboto Mono is too widely spaced

The Roboto Mono font is too widely spaced, making it effectively unusable. It also seems to all be in bold type:
roboto

Iosevka, for comparison:
iosevka

This is what it should look like, taken from my desktop:
ideal-spacing

Color Request: Nord theme

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

Purchase not possible on Pixelbook

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)?

Symlinks

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.

Review licenses for themes and fonts, possibly create user interface for showing licenses?

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?

More fonts?

Is it possible to add more fonts like Roboto Mono, Meslo and etc.? Current ones a bit bad for me.

Add support for base16-materia

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  

Color Scheme Suggestion: Smyck

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. ๐Ÿ™‚

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.