invidtui icon indicating copy to clipboard operation
invidtui copied to clipboard

Don't set the background of the app

Open arthsmn opened this issue 1 year ago • 2 comments

Currently the background of the app is set, so when using a transparent background terminal the app looks odd.

arthsmn avatar Jun 30 '24 17:06 arthsmn

@arthsmn can you post a screenshot? That would be helpful. Also if you haven't generated the theme file yet, generate it using the instructions in the theme branch of this repository.

darkhz avatar Jul 01 '24 10:07 darkhz

A preview of the problem: 2024-07-06T06:41:01,477830932-03:00 2024-07-06T06:41:09,363207439-03:00 2024-07-06T06:41:12,870338380-03:00

As you can see, first my terminal isn't setting a background color, so it is blurred. When selecting the instance, it's still blurred. But, when the app opens the background is set to black, which overwrites the blur.

arthsmn avatar Jul 06 '24 09:07 arthsmn

Ok, A small fix has been issued now. Install the latest version first.

For background transparency:

  • If you don't have the themes directory within your config folder (~/.config/invidtui for example), do invidtui ---generate first. A themes directory with a default.theme file will be generated. (~/.config/invidtui/themes/default.theme for example)
  • Now, open the default.theme file, edit the Background property to bg:default within the App context. It should look like this:
...
{ 
  App: {                       
    Author: attr:bold; fg:purple
    Background: bg:default
    Border: attr:bold; fg:white
    FormButton: attr:bold; bg:blue; fg:white
...
  • Save the file, and relaunch invidtui.

For theming any other properties, refer to the themes branch.

darkhz avatar Jul 14 '24 09:07 darkhz

This works, thanks!

arthsmn avatar Jul 14 '24 11:07 arthsmn