coyote escribió:Brutico escribió:Juraría que este walllpaper ya lo he usado pero no lo se
[*img]https://i.imgur.com/tCWZlyg.jpg[/img]
¿Tienes el conky a mano?. Hace eones que tenía ese mismo pero con los cambios y etc, lo perdí.
Con tú permiso he cogido los scripts de este
post de hace 8 años y lo he arreglado
Captura con transparencia en lo más negro que se puede
El script lua: draw_bg.lua
--[[
Background by londonali1010 (2009)
This script draws a background to the Conky window. It covers the whole of the Conky window, but you can specify rounded corners, if you wish.
To call this script in Conky, use (assuming you have saved this script to ~/scripts/):
lua_load ~/scripts/draw_bg.lua
lua_draw_hook_pre draw_bg
Changelog:
+ v1.0 -- Original release (07.10.2009)
]]
-- Change these settings to affect your background.
-- "corner_r" is the radius, in pixels, of the rounded corners. If you don't want rounded corners, use 0.
corner_r=15
-- Set the colour and transparency (alpha) of your background.
bg_colour=0x000000
bg_alpha=0.5
require 'cairo'
function rgb_to_r_g_b(colour,alpha)
return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
end
function conky_draw_bg()
if conky_window==nil then return end
local w=conky_window.width
local h=conky_window.height
local cs=cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, w, h)
cr=cairo_create(cs)
cairo_move_to(cr,corner_r,0)
cairo_line_to(cr,w-corner_r,0)
cairo_curve_to(cr,w,0,w,0,w,corner_r)
cairo_line_to(cr,w,h-corner_r)
cairo_curve_to(cr,w,h,w,h,w-corner_r,h)
cairo_line_to(cr,corner_r,h)
cairo_curve_to(cr,0,h,0,h,0,h-corner_r)
cairo_line_to(cr,0,corner_r)
cairo_curve_to(cr,0,0,0,0,corner_r,0)
cairo_close_path(cr)
cairo_set_source_rgba(cr,rgb_to_r_g_b(bg_colour,bg_alpha))
cairo_fill(cr)
end
conky procesos:
conky.config = {
use_xft = yes,
own_window = true,
own_window_type = 'normal',
own_window_transparent = true,
own_window_class = 'desktop',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_argb_visual = true,
background = true,
text_buffer_size = 2048,
minimum_width = 170 ,
minimum_height = 170 ,
use_xft = true,
xftalpha = 0.1,
update_interval = 1,
total_run_times = 0,
double_buffer = true,
draw_shades = false,
draw_outline = false,
draw_borders = false,
border_width = 0,
default_color = 'dd09be',
default_shade_color = 'white',
default_outline_color ='white',
own_window_colour = 'black',
font = 'Droid Sans Bold:size=9',
gap_x = 3550,
gap_y = 1890,
uppercase = false,
no_buffers = true,
net_avg_samples = 2,
cpu_avg_samples = 2,
override_utf8_locale = true,
use_spacer = 'none',
lua_load = '~/scripts/draw_bg.lua',
lua_draw_hook_pre = 'draw_bg',
}
conky.text = [[
${color white}Procesos ${hr 2}
${color dd09be}$processes procesos ( ${color white}$running_processes running${color EAEAEA} )
${color white}NAME${alignr}${offset -10}CPU%${alignr}MEM%
${color dd09be}${top name 1}${alignr}${offset -15}${color white}${top cpu 1}${alignr}${top mem 1}
${color dd09be}${top name 2}${alignr}${offset -15}${color white}${top cpu 2}${alignr}${top mem 2}
${color dd09be}${top name 3}${alignr}${offset -15}${color white}${top cpu 3}${alignr}${top mem 3}
${color dd09be}${top name 4}${alignr}${offset -15}${color white}${top cpu 4}${alignr}${top mem 4}
${color dd09be}${top name 5}${alignr}${offset -15}${color white}${top cpu 5}${alignr}${top mem 5}
]]
Conky principal
conky.config = {
use_xft = yes,
own_window = true,
own_window_transparent = true,
own_window_type = 'normal',
own_window_class = 'conky-semi',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_argb_visual = true,
background = true,
text_buffer_size = 2048,
minimum_width = 0 ,
use_xft = true,
xftalpha = 0.1,
update_interval = 1,
total_run_times = 0,
double_buffer = true,
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = false,
border_width = 0,
default_color = 'dd09be',
default_shade_color = 'white',
default_outline_color ='white',
own_window_colour = 'black',
font = 'Droid Sans Bold:size=9',
gap_x = 80,
gap_y = 2100,
uppercase = false,
no_buffers = true,
net_avg_samples = 2,
cpu_avg_samples = 2,
override_utf8_locale = true,
use_spacer = 'none',
lua_load = '~/scripts/draw_bg.lua',
lua_draw_hook_pre = 'draw_bg',
}
conky.text = [[
${alignc}${voffset 0}${offset 0}\
${font Droid Sans:Bold:size=11}\
${offset 2}${color}Linux: ${color white}${kernel} ${machine}${color}${offset -2}\
${offset 2}${color}CPU usada: ${color white}${cpu}%${offset -2}\
${offset 2}${color}CPU F: ${color white}${freq cpu} MHz${offset -2}\
${offset 2}${color}RAM usada: ${color white}$mem ($memperc%)${color}${offset -2}\
${offset 2}${color}RAM : ${color white}${top_mem name 1}${color}${offset -2}\
${offset 2}${color}Swap: ${color white}${swapperc}%${offset -2}\
${offset 2}${color}Root: ${color white}${fs_used /}/${fs_size /}${color}${offset -2}\
${offset 2}${color}Juegos: ${color white}${fs_used /media/juegos}/${fs_size /media/juegos}${color}${offset -2}\
${offset 2}${color}Almacen 1: ${color white}${fs_used /media/hdd1}/${fs_size /media/hdd1}${color}${offset -2}\
${offset 2}${color}Almacen 2: ${color white}${fs_used /media/hdd2}/${fs_size /media/hdd2}${color}${offset -2}\
${offset 2}${color}CPU TEMP: ${color white}${exec sensors | grep 'Tdie'| cut -c 16-17 }°C${color}${offset -2}\
${offset 2}${color}GPU TEMP: ${color white}${exec nvidia-settings -q GPUCoreTemp | grep 0.0 | cut -d ' ' -f 6 | cut -c 1-2}°C${color}${offset -2}\
${offset 2}${color}Subida ${color white}${upspeed enp3s0}${color}${offset -2}\
${offset 2}${color}T. Subida: ${color white}${totalup enp3s0}${color}${offset -2}\
${offset 2}${color}Descarga: ${color white}${downspeed enp3s0}${color}${offset -2}\
${offset 2}${color}T. Descarga: ${color white}${totaldown enp3s0}${color}${offset -2}
]]