intuis / rustmission

TUI for Transmission
GNU General Public License v3.0
23 stars 4 forks source link

Config used glyphs #82

Closed Locorock closed 1 month ago

Locorock commented 1 month ago

I'd be nice if the glyphs used in the tui were configurable. This would allow the app to both work with fonts other than nerdsfonts (phospor, font-specific, etc ) and in terminals without unicode support (xterm). In my case i'm using a bitmap font with quite a few unicode glyphs (Cozette) but most of them still appear unavailable.

grim-2024-ago-07-16_51_43 grim-2024-ago-07-16_53_32

An example for a possible configuration would be:

[icons]
download_speed = '▼'
upload_speed = '▲'
and_so_on = ''

P.S. torrents in the images are completely AI generated btw. I would never steal a car.

micielski commented 1 month ago

@Locorock Currently the config in #89 looks like this:

[icons]
upload = ""
download = ""
arrow_left = ""
arrow_right = ""
arrow_up = ""
arrow_down = ""
triangle_right = "▶"
triangle_down = "▼"
file = ""
disk = "󰋊"
help = "󰘥"
success = ""
failure = ""
searching = ""
verifying = "󰑓"
loading = "󱥸"
pause = "󰏤"
idle = "󱗼"
provider_disabled = "󰪎"
provider_category_general = ""
provider_category_anime = "󰎁"

Could you tell me with what values would you override these icons so I can include them in the config as an alternative to nerd fonts? If you have no alternatives to some, you can leave them as they are, thanks!