You are not logged in.

#1 2010-11-08 07:34:40

tawan
Member
Registered: 2010-03-02
Posts: 290
Website

Conky matches GTK theme (concept)

Concept:

Conky executes a script every X seconds.

The executed script checks to see if the GTK theme has changed.

The script reads the GTK theme and finds FG and BG colours.

The script performs a sed command on the conkyrc to alter text to the new FG colour as defined by the GTK theme.

The script uses Imigmagik to change the background image used by conky (or sed to alter the background colour used by conky if used).

....well I'll try to make it, but can't promise anything smile

Offline

#2 2010-11-08 08:38:12

manmachine
Member
From: Athens
Registered: 2010-10-28
Posts: 62
Website

Re: Conky matches GTK theme (concept)

Hmmmmm...Nice idea, maybe.
I use it in transparent mode though, so i don't know. It would be more useful to just not clash with the wallpaper smile

Personally i'm using conky's predefined colour variables and just have a handful of colour schemes that i manually switch to in .conkyrc whenever it clashes with my wallpaper. Not too much trouble and one script less running..

Eg:

# Colour Scheme 1 - light brown
#default_color D9D4CC           # Default color and border colour
#default_outline_color black    # Default outline colour
#default_shade_color black      # Default shading colour and border's shading colour 
#color1 D9D4CC                  # headers
#color2 A89B85                  # labels

# Colour Scheme 2 - light blue
default_color CCD4D9            # Default color and border colour
default_outline_color black     # Default outline colour
default_shade_color black       # Default shading colour and border's shading colour
color1 CCD4D9                   # headers
color2 95ABB8                   # labels

Offline

Board footer

Powered by FluxBB