Conky configuration new setting syntax

Conky changed its configuration file syntax in 1.10

Light-weight system monitor for X, that displays any kind of information on your desktop.

previous syntax style was

background yes
own_window yes
own_window_type override

The new syntax is

conky.config = {
  background=true,
  own_window=true,
  own_window_type='override'
}

ArchLinux forum post has summary of transforming old syntax to new syntax

Actually, it’s quite easy:
wrap your config section in
conky.config = { … }
wrap your TEXT section in
conky.text = [[ … ]]
the config options are lookup values and you need to assign the values (i.e. use “=”)
each line in the config section ends with “,”
replace “yes” and “no” with “true” and “false”, resp. (without quotes)
all values except numbers, “true” and “false” need quotes
comments are marked with “–” instead of “#”
Unfortunately, it seems like “own_window_argb_visual” isn’t working, at the moment.

In addition to that, multi value need to separate into two config setting.

After all the fuss, conky 1.10 completely understand old syntax style. So the old conkyrc config file will work.

Note: Conky config in the above screenshot can be obtained from here

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s