OK, I've been playing with your changes and I think we're really close.
It wasn't always transparent - for applications like vim it would still be opaque. I fixed that by changing a couple lines in terminal.py (see the diff below).
Then, I didn't know you could import a css file, so I think that is way cleaner than the inline css I had done before. The css that seems to work is below as well - I simplified what you had a little bit and made a couple additions to get it to work with the transparency changes I made in terminal.py. I think we're nearly there - I noticed a few issues with some themes other than what you had mentioned.
Here are the themes that are on my system in the debugger menu: Raleigh, Numix, Radiance, Adwaita, HighContrast, and Ambience. Raleigh doesn't actually show up in my system-wide themes, it just shows up in the interactive debugger...not sure what it is.
As far as I can see so far, these are the issues with them:
Raleigh:
* Doesn't like @theme_bg_color. Instead it seems to prefer @bg_color.
* Has a thin, transparent line around the whole frame.
Numix:
* The titlebar is no longer red - it appears white, which makes the text unreadable.
Radiance:
* The scrollbar has a weird transparent strip
HighContrast:
* The scrollbar base is transparent when window is not focused
Ambiance:
* Nothing new besides what you noticed - the scrollbar issue seems to be a related to the issue with Radiance and HighContrast.
OK, I've been playing with your changes and I think we're really close.
It wasn't always transparent - for applications like vim it would still be opaque. I fixed that by changing a couple lines in terminal.py (see the diff below).
Then, I didn't know you could import a css file, so I think that is way cleaner than the inline css I had done before. The css that seems to work is below as well - I simplified what you had a little bit and made a couple additions to get it to work with the transparency changes I made in terminal.py. I think we're nearly there - I noticed a few issues with some themes other than what you had mentioned.
Here are the themes that are on my system in the debugger menu: Raleigh, Numix, Radiance, Adwaita, HighContrast, and Ambience. Raleigh doesn't actually show up in my system-wide themes, it just shows up in the interactive debugger...not sure what it is.
As far as I can see so far, these are the issues with them:
Raleigh:
* Doesn't like @theme_bg_color. Instead it seems to prefer @bg_color.
* Has a thin, transparent line around the whole frame.
Numix:
* The titlebar is no longer red - it appears white, which makes the text unreadable.
Radiance:
* The scrollbar has a weird transparent strip
HighContrast:
* The scrollbar base is transparent when window is not focused
Ambiance:
* Nothing new besides what you noticed - the scrollbar issue seems to be a related to the issue with Radiance and HighContrast.
terminator.css
==============
.terminator- terminal- window,
.notebook {
background-color: transparent;
}
.pane-separator, terminal- searchbar,
.terminator-
.notebook.header {
background-color: @theme_bg_color;
}
terminal.py
===========
diff --git a/terminatorlib /terminal. py b/terminatorlib /terminal. py /terminal. py /terminal. py
self. bgcolor. parse(self. config[ 'background_ color'] ) 'background_ type'] == 'transparent': 'background_ darkness' ] set_opacity( self.config[ 'background_ darkness' ]) set_opacity( 1) 'inactive_ color_offset' ]
index 0ee4851..c5471e6 100755
--- a/terminatorlib
+++ b/terminatorlib
@@ -678,9 +678,9 @@ class Terminal(Gtk.VBox):
·
if self.config[
- self.bgcolor.alpha = self.config[
+ self.vte.
else:
- self.bgcolor.alpha = 1
+ self.vte.
·
factor = self.config[
if factor > 1.0: