Making conky semi-transparent

I want to make this conky script semi-transparent. IDK how to do that. THANKX so much!

conky.config = {

	background = true,
	use_xft = true,
	font = 'monospace:size=8',
	xftalpha = 0.8,
	update_interval = 2,
	total_run_times = 0,
	own_window = true,
	own_window_transparent = true,
	own_window_type = 'normal',
	own_window_class = 'conky',
	own_window_argb_visual = true,
--	own_window_colour = '#263041',
--  own_window_argb_value = 120,
	own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
	double_buffer = true,
	draw_shades = false,
	draw_outline = false,
	draw_borders = false,
	draw_graph_borders = true,
	stippled_borders = 1,
	border_width = 1,
	default_color = '#d8dee9',
	default_shade_color = 'gray',
	default_outline_color = 'black',
	alignment = 'top_right',
	gap_x = 35,
	gap_y = 0,

-- Misc Console #
   out_to_console = false,
   out_to_stderr = false,
   extra_newline = false,

   no_buffers = true,
   cpu_avg_samples = 2,
   net_avg_samples = 2,
   override_utf8_locale = true,
   use_spacer = 'right',
   maximum_width = 400,
   minimum_height = 800,
   uppercase = true,

};

conky.text = [[
#leet chars: β”€β”€β””β””β”΄β”΄β”β”β”‚β”‚β”˜β”˜β”Œβ”Œβ”œβ”œβ”¬β”¬β”Όβ”Όβ”΄β”΄β”€β”€ β”‚β”‚ β–½β–Όβ–³β–²β–΅β–΄β–Ύβ–Ώ

${alignr}${offset -6}
${alignr}${offset -6}${execi 6000 lsb_release -d | grep 'Descr'|awk {'print $2 " " $3" " $4" " $5'}}
${alignr}${offset -6}└──────────┐
${alignr}${offset -6}< ${kernel} > Kernel ──   β”‚
${alignr}${offset -6}< ${uptime_short} > Uptime ──   β”‚
${alignr}${offset -6}< ${execi 14400 checkupdates | wc -l} > updates β”€β”˜   β”‚
${alignr}${offset -6}β”‚
${alignr}${offset -6}system ──
${alignr}${offset -6}< ${execi 6000 cat /proc/cpuinfo|grep 'model name'|sed -e 's/model name.*: //'| uniq | cut -c 1-39} > CPU ──   β”‚
${alignr}${offset -6}< ${freq_g} GHz (${cpu}%) > Usage ──   β”‚
${alignr}${offset -6}β”‚   β”‚   β”‚
${alignr}${offset -6}< $loadavg > load ──   β”‚   β”‚
${alignr}${offset -6}< ${top name 01} ${top cpu 1} > ──   β”‚   β”‚
${alignr}${offset -6}< ${top name 02} ${top cpu 2} > ──   β”‚   β”‚
${alignr}${offset -6}< ${top name 03} ${top cpu 3} > ──   β”‚   β”‚
${alignr}${offset -6}< ${top name 04} ${top cpu 4} > ──   β”‚   β”‚
${alignr}${offset -6}< ${top name 05} ${top cpu 5} > β”€β”˜   β”‚   β”‚
${alignr}${offset -6}β”‚   β”‚
${alignr}${offset -6}β”‚   β”‚
${alignr}${offset -6}Memory ──   β”‚
${alignr}${offset -6}< $memperc% > used ──   β”‚   β”‚
${alignr}${offset -6}< $mem/$memmax > ──   β”‚   β”‚
${alignr}${offset -6}< ${membar 5,120} > ──   β”‚   β”‚
${alignr}${offset -6}< ${top_mem name 1} ${top_mem mem_res 1} > ──   β”‚   β”‚
${alignr}${offset -6}< ${top_mem name 2} ${top_mem mem_res 2} > ──   β”‚   β”‚
${alignr}${offset -6}< ${top_mem name 3} ${top_mem mem_res 3} > ──   β”‚   β”‚
${alignr}${offset -6}< ${top_mem name 4} ${top_mem mem_res 4} > ──   β”‚   β”‚
${alignr}${offset -6}< ${top_mem name 5} ${top_mem mem_res 5} > β”€β”˜   β”‚   β”‚
${alignr}${offset -6}β”‚   β”‚
${alignr}${offset -6}Processes ──   β”‚
${alignr}${offset -6}< $processes > ─ < $running_processes > β”€β”˜   β”‚   β”‚
${alignr}${offset -6}β”‚   β”‚
${alignr}${offset -6}β”‚   β”‚
${alignr}${offset -6}Temperatures ──   β”‚
${alignr}${offset -6}< ${execi 5 sensors | grep Tctl: | cut -c 16-19}Β°C cpu ──   β”‚   β”‚
${alignr}${offset -6}< ${execi 5 sensors | grep edge: | cut -c 16-19} Β°C gpu ──   β”‚   β”‚
${alignr}${offset -6}< ${execi 5 sensors | grep Composite: | cut -c 16-19}Β°C ssd β”€β”˜   β”‚   β”‚
${alignr}${offset -6}β”‚   β”‚
${alignr}${offset -6}β”‚   β”‚
${alignr}${offset -6}Disk Usage β”€β”˜   β”‚
${alignr}${offset -6}< $diskio_read >  read ──       β”‚
${alignr}${offset -6}< $diskio_write > write ──       β”‚
${alignr}${offset -6}< $swap/$swapmax swap ──       β”‚
${alignr}${offset -6}< ${swapbar 5,120} > β”€β”˜     β”‚       β”‚
${alignr}${offset -6}< ${fs_used /}/${fs_size /} > /root ──       β”‚
${alignr}${offset -6}< ${fs_bar 5,120 /} > β”€β”˜     β”‚       β”‚
${alignr}${offset -6}< ${fs_used /mnt/wd1tb}/${fs_size /mnt/wd1tb} > /WD β”€β”˜       β”‚
${alignr}${offset -6}< ${fs_bar 5,120 /mnt/wd1tb} > β”€β”˜             β”‚
${alignr}${offset -6}β”‚
${alignr}${offset -6}Network β”€β”˜
${alignr}${offset -32}< $nodename > hostname ──
${alignr}${offset -32}< ${downspeed wlan0} k/s > download 
i want to make this conky script semi-transparent does anyone know how to do that? THANKX so much! FR FR

──
${alignr}${offset -32}< ${downspeedgraph wlan0 12,120 136311 11B014} > β”€β”˜    β”‚
${alignr}${offset -32}< ${upspeed wlan0} k/s >   upload β”€β”˜
${alignr}${offset -62}< ${upspeedgraph wlan0 12,120 BA0B0B FC0707} > β”€β”˜
]];


own_window_transparent = true,

2 Likes

nice try but idkw it didn’t work. it seems like i am doing everything right. so confused… errr… thankx though nice try

i tried to follow what it said here: https://wiki.archlinux.org/title/Conky/Tips_and_tricks about semi-transparency but it just turned all black. odd err…

Not sure your DE, but I’m using KDE here are some pertinent settings to check:

own_window_transparent = false,
own_window_argb_visual = true,
own_window_argb_value = 0,

Changed own_window_argb_value from between 0 and 255 and that should control the transparency level.

1 Like

this was not the solution but i give you credit without you i would have not figured it out it had two – these infront of own-window_argb_value = whatever when i deleted the two little dashes – it imeditately turned tranparent. thankx you sooooooooooooooooooooooooo much!!! actually it was the solution but i also had to do something else anyway THANKX YOU SAVED ME A HUGE HEADACHE

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.