Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

πŸ”˜/βšͺ Radio button 4 theme selection #61

Open
1 of 2 tasks
ChiefMikeK opened this issue Sep 23, 2019 · 3 comments
Open
1 of 2 tasks

πŸ”˜/βšͺ Radio button 4 theme selection #61

ChiefMikeK opened this issue Sep 23, 2019 · 3 comments
Labels
priority:p1 Priority level 1 type: ui
Milestone

Comments

@ChiefMikeK
Copy link

ChiefMikeK commented Sep 23, 2019

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:

@ghost
Copy link

ghost commented Sep 23, 2019

Terminal styling is not normal Android application settings. It just writes preset to $HOME/.termux/colors.properties which then may be arbitrarily edited by user.

So how you are proposing to determine current theme ?

@ChiefMikeK
Copy link
Author

ChiefMikeK commented Sep 23, 2019

either grep the color.properties file or save state from first/last input ?

Xtermcontrol

@dkoppenh
Copy link

dkoppenh commented Mar 4, 2020

To build on what @ChiefMikeK said, perhaps there's a way to determine current theme.

Put a comment in the colors.properties file about which theme it is. When opening the theme dialog, scan that file for the 'theme name' and compare the contents of the file to the theme installed. If it matches, mark that theme in the list. If it doesn't match, make an option called 'manual' or 'custom' be selected in the theme dialog.

Update: or use a checksum to compare so you can do similar with marking the current font

@MrAdityaAlok MrAdityaAlok added the priority:p1 Priority level 1 label Dec 6, 2022
@MrAdityaAlok MrAdityaAlok added this to the v0.30 milestone Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority:p1 Priority level 1 type: ui
Projects
None yet
Development

No branches or pull requests

3 participants