transmission-remote-tui icon indicating copy to clipboard operation
transmission-remote-tui copied to clipboard

Transparency

Open ethanh92 opened this issue 2 years ago • 4 comments

Is there a way to make the background transparent via configuration or would the source code need to be modified? I'm using Alacritty if it's at all relevant.

ethanh92 avatar Mar 06 '22 02:03 ethanh92

Diving deeper into the issue, It seems like setting the colors to their default value makes tview(the TUI library this project is using) to respect the default terminal colors. This also means that if you have transparency enabled in your terminal, trt should respect that too. This overall looks like a good improvement to add to the project. I'll raise a PR making the necessary required changes.

tview.Styles.TitleColor = tcell.ColorDefault
tview.Styles.BorderColor = tcell.ColorDefault
tview.Styles.PrimaryTextColor = tcell.ColorDefault
tview.Styles.PrimitiveBackgroundColor = tcell.ColorDefault

Also sorry for the late reply @ethanh92 . GitHub no longer notifies me about newly opened issues, for some reason.

murtaza-u avatar Apr 16 '22 15:04 murtaza-u

Just updated to the latest version with transparency. Thanks for that. However, the highlight on the currently selected torrent is also transparent now which means that unfortunately I can't tell which torrent in the list is selected.

ethanh92 avatar Apr 21 '22 18:04 ethanh92

Rolled back to the previous commit. I've seemed to have tried everything to get transparency working, but to no avail. I'll keep this issue open for further discussion.

murtaza-u avatar Apr 24 '22 19:04 murtaza-u

you can change the background opacity of alacritty

rodrigo-sys avatar Sep 19 '22 19:09 rodrigo-sys