jyjeanne / conkyutil

Simple python library that aims to be use for writing Conky script.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Conky Util

PyPI version

Simple python package that provides tools for script that aims to run under Conky context. Most of it has been generated using apiwriter.py script, which extracts command from http://conky.sourceforge.net/variables.html web page.

Installation

Just use pip :

pip install conkyutil

Usage

A ConkyWriter instance holds a stream and writes text and Conky command to it. Based on fluent interface pattern, it could be used as following :

from conkyutil.writer import ConkyWriter

writer = ConkyWriter()
writer.voffset(12).offset(12).color('red').write('Hellonky !').newline()

Contribute

All contributions as suggestion as well are welcome, using this repository issues page.

About

Simple python library that aims to be use for writing Conky script.

License:Apache License 2.0


Languages

Language:Python 100.0%