Skip to content

Instantly share code, notes, and snippets.

@farukuzun
Created February 11, 2014 20:27
Show Gist options
  • Save farukuzun/8943403 to your computer and use it in GitHub Desktop.
Save farukuzun/8943403 to your computer and use it in GitHub Desktop.
VteObject.py:172
"""
self.vte.set_colors(
Gdk.color_parse(ConfigManager.get_conf('color-text')),
Gdk.color_parse(ConfigManager.get_conf('color-background')),
[])
"""
palette16 = [Gdk.RGBA(0,0.15575926005840302,0.19370138645172119),Gdk.RGBA(0.81926977634429932,0,0),
Gdk.RGBA(255,0,0),Gdk.RGBA(255,0,0),Gdk.RGBA(255,0,0),Gdk.RGBA(255,255,0),Gdk.RGBA(255,0,0),
Gdk.RGBA(255,0,0),Gdk.RGBA(255,0,0),Gdk.RGBA(255,0,0),Gdk.RGBA(255,255,0),Gdk.RGBA(255,0,0),
Gdk.RGBA(255,0,0),Gdk.RGBA(255,0,0),Gdk.RGBA(255,0,0),Gdk.RGBA(255,255,0)]
self.vte.set_colors_rgba(Gdk.RGBA(0,0,0),Gdk.RGBA(100,100,100), palette16)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment