You are not logged in.
@ragamatrix
You are a champion. Thank you.
Did you miss one?
dofile ('/your/path/.conky/timesys/netgraph.lua')
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
@ragamatrix
You are a champion. Thank you.
Did you miss one?
dofile ('/your/path/.conky/timesys/netgraph.lua')
I edited the post and added the missing one. Champion... not yet... but scatterbrain YES definitely.
Offline
ragamatrix, we've known each other for a while now, trust me, you are a 'champion', but if you insist ... a scatterbrained champion!
Thank you. Time to build this and show my wife.
EDIT:
Looks like you have netgraphs.lua in place where the "textsys.lua" should be. I didn't notice that at first.
My guess we are both scatterbrained today. O:)
Nice to see wlourf's scripts still getting some love!
Last edited by Sector11 (2016-06-10 12:41:23)
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
re.edited... I have to go I hope it's fine sorry again
Offline
1920 version of the Electro-conky - everything needed is in the zipfile
The weather and forum feed scripts have been improved (the smaller version has been updated as well)
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
1920 version of the Electro-conky
So this would be a clock punk/diesel punk Conky?
Be excellent to each other, and...party on, dudes!
BunsenLabs Forum Rules
Tending and defending the Flame since 2009
Offline
@damo really bluetifull ! awesome conky lua work
Offline
@damo really bluetifull ! awesome conky lua work
Kind of you to say so, but the lua scripts are hacked versions of others'.
...Now to try for gradients on the time/date text!
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
damo wrote:1920 version of the Electro-conky
So this would be a clock punk/diesel punk Conky?
I've got a 'steampunk' clock here thanks to EasySid a few hours with Startpage and about a week of cursing GIMP if your interested.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
@ damo re: 1920
NICE is not good enough for that. Awesome comes close.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
ninlith, your subsolar conky is really awesome
i have test it an it 's just "enorme".
Raggamatrix nice to see you.
La liberté, personne ne peut l’expliquer mais tout le monde peut la comprendre.Cecilia Meireles
Tout ce qui n'est pas donné ou partagé est perdu (proverbe tsigane)
Offline
ninlith, your subsolar conky is really awesome
i have test it an it 's just "enorme".
Raggamatrix nice to see you.
Hey hey my #!banger friend And yes I've chosen the bunsen side nice to see you too !
Offline
Long time no C[onky].
A few things first:
1. The conkyrc uses the old 1.9 syntax. I have frozen my conky package because I do not want to spend time updating a bunch of conkys.
2. Shamelessly copied from based on this rainmeter skin
3. The visualizer is cava, running in a transparent terminal placed strategically. It is good for the screenshot, but as you can see by the cpu usage, isn't feasible.
conkyrc
# -- Conky settings -- #
background no
update_interval 1
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale yes
double_buffer yes
no_buffers yes
short_units yes
text_buffer_size 2048
imlib_cache_size 0
use_xft yes
xftfont fira sans:medium:size=14
xftalpha 0.8
own_window yes
own_window_transparent yes
own_window_argb_visual yes
own_window_class Conky
own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
border_inner_margin 0
border_outer_margin 0
minimum_size 1300 600
alignment tl
gap_x 50
gap_y 50
# -- Graphics settings -- #
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color f0f0f0
color1 454545
# -- Lua load -- #
lua_load draw_bars.lua
lua_draw_hook_post main
#at least one line (empty or not) after TEXT
TEXT
${voffset 15}${cpugraph cpu0 30,160 -l}
${voffset -40}${offset 180}${cpu cpu0}%${goto 240}CPU
${voffset -5}${goto 235}${font fira sans:medium:pixelsize=12}${freq} MHz
${font}${voffset 40}
${voffset 15}${goto 65}${memgraph 30,160}
${voffset -40}${offset 240}${memperc}%${goto 310}RAM
${voffset -5}${goto 310}${font fira sans:medium:pixelsize=12}${mem} used
${font}${voffset 40}
${voffset 15}${goto 135}${diskiograph /dev/sda1 30,160 -l}
${voffset -40}${offset 310}${fs_used_perc /}%${goto 380}/
${voffset -5}${goto 380}${font fira sans:medium:pixelsize=12}${fs_free /} free
${font}${voffset 40}
${voffset 15}${goto 205}${diskiograph /dev/sda2 30,160 -l}
${voffset -40}${offset 380}${fs_used_perc /home}%${goto 450}/home
${voffset -5}${goto 450}${font fira sans:medium:pixelsize=12}${fs_free /home} free
# Date
${font fira sans:regular:size=70}${voffset -550}
${goto 550}${time %A}${voffset -35}${font fira sans:meduim:size=35} \
${time %d}${voffset 45}${offset -40}${time %B}
# Clock
${font fira sans:regular:size=90}${voffset -10}${goto 550}${time %l}
${font fira sans:regular:size=70}${voffset -150}${goto 690}${time %M}
${font fira sans:regular:size=60}${voffset -120}${goto 840}${time %S}
${font fira sans:regular:size=30}${voffset -110}${goto 980}${time %p}
# Music
${if_mpd_playing}\
${if_match "$mpd_status" == "Paused"}${color1}${endif}\
${font fira sans:light:size=25}${voffset 100}
${goto 650}NOW ${voffset 32} ${goto 600}PLAYING ${voffset -60} ${cpubar 100,1 cpu10}
${font fira sans:light:size=20} ${voffset -120}${goto 750} ${mpd_smart 40}\
${voffset 40}${goto 750} ${mpd_album} \
${endif}
draw_bars.lua
--[[
draw_bars.lua for conky
written by easysid
Monday, 13 June 2016 21:41 IST
]]--
require 'cairo'
-- defaults for the bars. Override in settings table.
height = 65
width = 5
fill_color = {0xf0f0f0, 0.9}
base_color = {0xf0f0f0, 0.3}
-- settings table
t = {
{
arg = "cpu cpu0", -- conky var
max = 100, -- max value
x = 220, -- top left x
y = 10, -- top left y
-- h = 60, -- length
-- w = 5, -- width
-- color = {0x223344, 1},
-- base = {0x667788, 0.7}
},
{
arg = "memperc",
max = 100,
x = 290,
y = 140,
},
{
arg = "fs_used_perc /",
max = 100,
x = 360,
y = 270,
},
{
arg = "fs_used_perc /home",
max = 100,
x = 430,
y = 400,
},
{
arg = "time %I",
max = 12,
h = 100,
x = 660,
y = 150,
},
{
arg = "time %M",
max = 60,
h = 80,
x = 810,
y = 160,
},
{
arg = "time %S",
max = 60,
x = 950,
y = 170,
},
} -- end settings table t
function conky_main()
if conky_window == nil then return end
local cs = cairo_xlib_surface_create(conky_window.display,
conky_window.drawable, conky_window.visual,
conky_window.width, conky_window.height)
cr = cairo_create(cs)
local updates=tonumber(conky_parse('${updates}'))
if updates>3 then
for i in ipairs(t) do
draw_bars(cr,t[i])
end --for
end --endif
cairo_destroy(cr)
cairo_surface_destroy(cs)
cr=nil
end --end main()
function draw_bars(cr,t)
-- this function just draws the graphs. We put the text in the conkyrc
-- set defaults
local h0 = t.h or height
local w0 = t.w or width
local col = t.color or fill_color
local bcol = t.base or base_color
-- calculate
value = tonumber(conky_parse(string.format("${%s}", t.arg)))
if value == nil then value = 0 end
local h1 = h0*value/t.max
local y1 = t.y + h0 - h1
-- draw base rectangle
cairo_set_line_width(cr, 1)
cairo_set_source_rgba (cr, rgba_to_r_g_b_a(bcol))
cairo_rectangle(cr, t.x, t.y, w0, h0)
cairo_fill(cr)
-- draw overlay rectangle
cairo_set_source_rgba (cr, rgba_to_r_g_b_a(col))
cairo_rectangle(cr, t.x, y1, w0, h1)
cairo_fill(cr)
end -- end draw_bars()
function rgba_to_r_g_b_a(tcolor)
local color,alpha=tcolor[1],tcolor[2]
return ((color / 0x10000) % 0x100) / 255.,
((color / 0x100) % 0x100) / 255., (color % 0x100) / 255., alpha
end --end rgba_to_r_g_b_a()
Offline
How much easier is it with out cava? Interesting full screen conky.
PS: Careful with the "No time to C[onky]", you might get quoted
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
How much easier is it with out cava? ...)
It won't function properly without a significant large download.
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
How much easier is it with out cava? Interesting full screen conky.
PS: Careful with the "No time to C[onky]", you might get quoted
Without cava it's just a run of the mill conky-lua setup, with 1 second update. As easy as it gets.
Offline
^ In other words cpu and damo's bubble powered burps are normal.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
^ In other words cpu and damo's bubble powered burps are normal.
The cpu is normal. Who knows what damo's bubble powered burps are packing with all that blending he's been doing
Offline