bluetui icon indicating copy to clipboard operation
bluetui copied to clipboard

Feature: Being able to customize the colors and icons

Open UnaTried opened this issue 1 year ago • 14 comments

It would be cool if you could customize the UI of bluetui. The syntax (in $HOME/.config/bluetui/config.toml ) could be:

[colors]
connected="hex, rgb, hsl, cmyk, ncol or hwb"
disconnected=""
connected_trusted=""
trusted=""

[icons]
scanning=""
battery=""
headphones=""
speaker=""

UnaTried avatar Nov 16 '24 11:11 UnaTried

You could also maybe add an layout option, to change the layout. The person who made the issue before this one, wanted this so that would be cool. Syntax

layout=[
    "paired"
    "scanning"
    "adpaters"
]

UnaTried avatar Nov 16 '24 11:11 UnaTried

A full config would be this

[keyboard]
toggle_scanning = "s"
toggle_pairing = "p"
toggle_power = "o"
toggle_discovery = "d"
toggle_connect = " "
toggle_trust = "t"
unpair = "u"
pair = "p"
rename = "e"

[colors]
connected="hex, rgb, hsl"
disconnected=""
connected_trusted=""
trusted=""

[icons]
scanning=""
battery=""
headphones=""
speaker=""

layout=[
    "paired"
    "scanning"
    "adpaters"
]

UnaTried avatar Nov 16 '24 11:11 UnaTried

Why would you want to change the icons ? what's the problem with the current ones ? same with colors ? is there anything else beyond just taste ? For the layout, it has been changed to have paired devices at the start.

pythops avatar Nov 25 '24 11:11 pythops

I don't find anything wrong with them, it's just that it would be nice for personal preference! Customization is key for consistency.

UnaTried avatar Nov 26 '24 21:11 UnaTried

@pythops I have an argument for at least being able to change the colors, that isn't just personal taste

my terminal theme's "black" color is set to the background color (practically meaning transparent)
when I opened bluetui for the first time, I got confused because I didn't see the selection background color

Some terminal programs use the black color to mean black, others use it to mean "greyed out"; so you can't please all programs with a single setting for it — something is going to be fucked. would love to be able to customize the colors for that reason

for my usecase at least, being able to change what "the black color" means would be lovely

Axlefublr avatar Jan 27 '25 07:01 Axlefublr

I hope it can be realised. I sometimes can't find the device that I have selected. If I could customise the colours then it would be an easy fix.

Image

acdcbyl avatar Feb 25 '25 02:02 acdcbyl

I think that might be a problem with your terminal config...

UnaTried avatar Feb 25 '25 18:02 UnaTried

I think that might be a problem with your terminal config...

Yes, it's possible. But I still want the possibility of customization, you know, it's really fun to change a color every day.♥️

acdcbyl avatar Feb 26 '25 04:02 acdcbyl

I have an issue where the highlight colour is the same as text, so I can't read the selected item:

Image

Therefore an ability to customise the colours would be appreciated.

Rizhiy avatar Aug 14 '25 15:08 Rizhiy

In my case, the help banner is blending with the background

Image

Jorenar avatar Oct 25 '25 19:10 Jorenar

okay guys, you won, I will focus on this one next week 😄

pythops avatar Oct 25 '25 19:10 pythops

yaaaay!

Axlefublr avatar Oct 25 '25 21:10 Axlefublr

Nice!

UnaTried avatar Oct 26 '25 03:10 UnaTried

Glad to hear this is getting worked on! For another use case - colorblindness. I find it hard to differentiate between the green and red circles under the "Connection" and "Paired" columns at a glance.

chrisbro avatar Nov 06 '25 12:11 chrisbro