mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-17 10:35:10 +00:00
Check out my config at gist :)
https://gist.github.com/Llewellynvdm/02279631eabc65601a5722dcf4780768
56b5a7eeca
One problem is, that tolua/lua does not handle plain data pointers properly. Therefore something like local surface = cairo_image_surface_create_for_data( imlib_image_get_data_for_reading_only(), .. will fail using the lua bindings. Hence this wrapper, which adds a function which be used to draw an imlib image to a cairo surface. This also addresses another issue, drawing images with a transparent background (e.g. gifs or pngs) to the cairo surface properly. Apparently the image format of imlib is incompatible to cairos which uses pre-multiplied data. This is also explained in the cairo documentation. A fix for this issue is to blend the image with another alpha mask to get the correct values. The code and explanation for this was taken from http://lists.cairographics.org/archives/cairo/2008-March/013492.html Executive Summary: This wrapper function can load (transparent) images (e.g. gif or png) from a file by using imlib and draw them on a cairo surface. |
||
---|---|---|
cmake | ||
data | ||
doc | ||
extras | ||
lua | ||
src | ||
.gitignore | ||
.travis.yml | ||
AUTHORS | ||
changelog2html.py | ||
ChangeLog | ||
check_docs.py | ||
CMakeLists.txt | ||
COPYING | ||
INSTALL | ||
LICENSE.BSD | ||
LICENSE.GPL | ||
NEWS | ||
README.cmake | ||
README.md | ||
text2c.sh | ||
TODO |
Conky
Conky is a free, light-weight system monitor for X, that displays any kind of information on your desktop.
Features
Conky can display more than 300 built-in objects, including support for:
- A plethora of OS stats (uname, uptime, CPU usage, mem usage, disk usage, "top" like process stats, and network monitoring, just to name a few).
- Built-in IMAP and POP3 support.
- Built-in support for many popular music players (MPD, XMMS2, BMPx, Audacious).
- Can be extended using built-in Lua support, or any of your own scripts and programs ([more](Lua Interface)).
- Built-in Imlib2 and Cairo bindings for arbitrary drawing with Lua (more).
... and much much more.
Conky can display information either as text, or using simple progress bars and graph widgets, with different fonts and colours.
Screenshots
See the User Configs section of the wiki for more screenshots and their associated conky config files.
Documentation
The Github Wiki serves as a central hub for all of Conky's documentation. Quick links:
License
Conky is licensed under the terms of the GPLv3 and BSD licenses.