Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change colors? #32

Closed
lupont opened this issue May 2, 2019 · 6 comments
Closed

Change colors? #32

lupont opened this issue May 2, 2019 · 6 comments

Comments

@lupont
Copy link

lupont commented May 2, 2019

Hello!
Lovely extension, I use it daily. However, since I use a light theme, the black terminal stands out a bit. Is there any way to change the background/font colors?

Thanks!

@giedriusStan
Copy link

I'm not a python developer, but I tried to change the background myself. Anybody know why this line of code wouldn't work?
self._ui_terminal.set_color_background(Gdk.RGBA(64,69,82))

@flozz
Copy link
Owner

flozz commented Mar 30, 2020

Hello,

@lupont sorry I completely forget about this issue... I do not implemented a way to configure color (lack of time...)

@giedriusStan try passing 4 numbers between 0 and 1: Gdk.RGBA(64/255.0, 69/255.0, 82/255.0, 1)

@giedriusStan
Copy link

@giedriusStan try passing 4 numbers between 0 and 1: Gdk.RGBA(64/255.0, 69/255.0, 82/255.0, 1)

OMG it worked :) Thanks!

If anyone else wants to achieve this, add this line to _build_and_inject_ui function

self._ui_terminal.set_color_background(Gdk.RGBA(64/255.0, 69/255.0, 82/255.0, 1))

@lhmngwy
Copy link

lhmngwy commented Apr 29, 2020

If anyone is interested, I added the following to the "_build_and_inject_ui" function to match the "Tango" theme on Ubuntu 20.04:
self._ui_terminal.set_colors(Gdk.RGBA(255/255.0, 255/255.0, 255/255.0, 1), Gdk.RGBA(56/255.0, 12/255.0, 42/255.0, 1), [Gdk.RGBA(0/255.0, 0/255.0, 0/255.0, 1), Gdk.RGBA(204/255.0, 0/255.0, 0/255.0, 1), Gdk.RGBA(78/255.0, 154/255.0, 6/255.0, 1), Gdk.RGBA(196/255.0, 160/255.0, 0/255.0, 1), Gdk.RGBA(52/255.0, 101/255.0, 164/255.0, 1), Gdk.RGBA(117/255.0, 80/255.0, 123/255.0, 1), Gdk.RGBA(6/255.0, 152/255.0, 154/255.0, 1), Gdk.RGBA(211/255.0, 215/255.0, 207/255.0, 1), Gdk.RGBA(85/255.0, 87/255.0, 83/255.0, 1), Gdk.RGBA(239/255.0, 41/255.0, 41/255.0, 1), Gdk.RGBA(138/255.0, 226/255.0, 52/255.0, 1), Gdk.RGBA(252/255.0, 233/255.0, 79/255.0, 1), Gdk.RGBA(114/255.0, 159/255.0, 207/255.0, 1), Gdk.RGBA(173/255.0, 127/255.0, 168/255.0, 1), Gdk.RGBA(52/255.0, 226/255.0, 226/255.0, 1), Gdk.RGBA(238/255.0, 238/255.0, 236/255.0, 1)])

nautilus-terminal-tango

@flozz
Copy link
Owner

flozz commented Nov 14, 2020

The background and the text color are now configurable. Available on master, I will release this soon.

@flozz flozz closed this as completed Nov 14, 2020
@flozz
Copy link
Owner

flozz commented Nov 14, 2020

→ released in v3.4.0 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants