fisadev / conky-draw Goto Github PK
View Code? Open in Web Editor NEWEasily create beautiful conky graphs and draws
License: GNU General Public License v2.0
Easily create beautiful conky graphs and draws
License: GNU General Public License v2.0
this will all to well but this lacks a crucial part which is what to put on the conkyrc file to display let's say a simple ring with the cpu usage (let's say cpu0 and cpu1)?
Please add graphs used by netdata. Demo available here: https://my-netdata.io/#demosites
I noticed trying to do certain vertical bars the code divides by zero and locks up the cpu requiring a sigkill, checked the pull requests and noticed someone has already submitted a pull to fix but I can second the issue.
When i run the code as per specified by the guidelines i get the following error in the terminal.
"Conky: llua_do_call: function conky_main execution failed: ./conky_draw.lua:312: attempt to concatenate field 'kind' (a nil value)"
I think the error is at line 312. Pls have look.
My config_draw_config.lua has followind content
elements = { kind = 'bar_graph', conky_value = 'wireless_link_qual wlan0', from = {x=50,y=200}, to = {x=100,y=200}, background_thickness = 5, background_color = 0xFFFFFF, bar_thickness = 5, critical_threshold = 80, change_color_on_critical = true, bar_color_on_critical = 0x5dc643 }
My lua bindings in conky are working properly i already checked it.
What about a graph like speedometer or clock hands ?
Hello fisadev,
i noticed in the element ring_graph that changing the color doesn't work. It's always that green.
When changing color=
to bar_color=
it works. Maybe you can have a look into this.
thanks for your great work. my monolithic conkyrc looks much better now ;)
Nvm, figured it out :)
I'm seeing the word Transpacency in the readme file.
I think you meant transparency.
Hi,
thanks for your great work, that's exactly what I was looking for,
but... yes, there is a but... So but I find it quite hard to navigate through the config file when you have tons of objects.
So I tried to make a python GUI to generate the config_draw.lua file,
It's still in progress, not very strong, but It's kinda working
please have a look on https://github.com/Daguhh/ConkyLuaMakerGUIv2,
there is a preview of GUI and the conky running
created a pull request with the fix I am using
Hi,
I was trying conky-draw and encountered some flickering.
It seems that cpu cpu0
as conky_value
is causing some delay during re-paint. If I use a different command, everything seems to be fine.
Did someone see similar behavior or is there any workaround?
Version:
conky 1.11.6 compiled Sun Jan 24 09:40:34 AM CET 2021 for Linux 5.4.72-gentoo x86_64
conky-draw revision
75a773c5529b16e5e34ec6623d78804c65d4285e
conky_draw_config.lua:
{
kind = 'bar_graph',
conky_value = 'cpu cpu0',
from = {x = 200, y = 45},
to = {x = 300, y = 45},
background_thickness = 20,
bar_thickness = 16,
},
conkcyrc
conky.config = {
alignment = 'top_left',
background = false,
border_width = 2,
cpu_avg_samples = 2,
default_color = 'white',
default_outline_color = 'white',
default_shade_color = 'white',
draw_borders = false,
draw_graph_borders = false,
draw_outline = false,
draw_shades = true,
use_xft = true,
font = 'DejaVu Sans Mono:size=12',
gap_x = 20,
gap_y = 40,
minimum_height = 1100,
minimum_width = 1125,
net_avg_samples = 2,
no_buffers = true,
out_to_console = false,
out_to_stderr = false,
extra_newline = false,
own_window = false,
own_window_class = 'Conky',
own_window_type = 'desktop',
stippled_borders = 0,
update_interval = 1.0,
uppercase = false,
use_spacer = 'none',
show_graph_scale = false,
show_graph_range = false,
lua_load = 'conky_draw.lua',
lua_draw_hook_pre = 'main',
};
conky.text = [[
]]
The rotation_angle does not seem to have any bearing on the drawing. variable does not seem to be used anywhere in the draw_function.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.