ncspot icon indicating copy to clipboard operation
ncspot copied to clipboard

Custom color themes do not respect terminal transparency

Open reddraconi opened this issue 1 year ago • 0 comments

Describe the bug Defining a custom color theme in .../config/ncspot/config.toml does not respect terminal transparency configuration

To Reproduce

  1. Configure terminal to use some level of transparency
  2. Open ncspot without any customization
  3. Observe default color theme respects the terminal's configured transparency
  4. Close ncspot
  5. Configure .../config/ncspot/config.toml with a custom color theme
  6. Open ncspot
  7. Observe that all defined colors are fully opaque

Expected behavior

  1. Either defined hex colors should respect the terminal's transparency or
  2. Allow RGBA values to be defined (either via hex or RGBA(rrr, ggg, bbb, aaa) to manually configure transparency.

Screenshots

Theme in question: image

Default theme, respecting transparency: image

Custom theme, disregarding transparency: image

gnome-terminal profile configuration: image

System:

  • OS: Linux (Fedora 39 Workstation x86_64)
  • Terminal: Gnome Terminal
  • Version: 1.0.0
  • Installed from: Flathub via Gnome Software

Additional context

$TERM is xterm-256color $XDG_SESSION_DESKTOP is gnome $XDG_SESSION_TYPE is wayland

I did try using #RRGGBBAA in the TOML, but ncspot just ignored it and reverted back to the default theme.

reddraconi avatar Jan 26 '24 01:01 reddraconi