pythops / bluetui

🛜 TUI for managing bluetooth on Linux.
GNU General Public License v3.0
371 stars 6 forks source link

Feature: Being able to customize the colors and icons #29

Open F5T3 opened 2 hours ago

F5T3 commented 2 hours ago

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=""
F5T3 commented 2 hours ago

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"
]
F5T3 commented 2 hours ago

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, cmyk, ncol or hwb"
disconnected=""
connected_trusted=""
trusted=""

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

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