diff --git a/conky.conf b/conky.conf index d56debb..aa8b3bd 100644 --- a/conky.conf +++ b/conky.conf @@ -18,9 +18,9 @@ conky.config = { maximum_width = 290, minimum_height = 545, - -- Ventana (tipo 'normal' = recibe clicks; 'desktop' los ignora) ---------- + -- Ventana ('dock' = recibe clicks Y el WM no lo mueve con Alt+drag; 'normal' lo dejaba mover; 'desktop' no recibe clicks) ---------- own_window = true, - own_window_type = 'normal', + own_window_type = 'dock', own_window_argb_visual = true, own_window_transparent = true, own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', diff --git a/lua/widget.lua b/lua/widget.lua index 3d4c7b6..66ce883 100644 --- a/lua/widget.lua +++ b/lua/widget.lua @@ -381,6 +381,14 @@ local function draw_sys(cr) gh = row("DISK I/O", str("${diskio}"), COL.orange, 26) graph(cr, x, y, gw, gh, { { data = hist.diskio, c = COL.purple, fill = true } }); y = y + gh + 6 + -- NET (red: download + upload). Dos series: down (cian) y up (naranja). + gh = row("NET", "↓ " .. str("${downspeed " .. NIF .. "}") .. + " ↑ " .. str("${upspeed " .. NIF .. "}"), COL.blue, 26) + graph(cr, x, y, gw, gh, { + { data = hist.down, c = COL.down }, + { data = hist.up, c = COL.up }, + }); y = y + gh + 6 + -- Uso de discos text(cr, x, y + 10, "USO DE DISCOS", COL.snow, 10, true); y = y + 16 local disks = { "/", "/mnt/1tb", "/mnt/2tb", "/mnt/16tb" }