fix: boton nethogs usa el terminal por defecto del sistema (kitty)

Reemplaza el xfce4-terminal hardcodeado por x-terminal-emulator -e,
que respeta el terminal por defecto (configurado a kitty). Mantiene la
ventana abierta tras salir de nethogs para poder leer la salida.
This commit is contained in:
Egutierrez
2026-06-02 21:16:26 +02:00
parent effb1c08f7
commit 6d7a3a5d6e
+2 -1
View File
@@ -48,7 +48,8 @@ local BTNS = {
{ label = "ntopng", bin = "ntopng", pkg = "ntopng", { label = "ntopng", bin = "ntopng", pkg = "ntopng",
cmd = "xdg-open http://localhost:3000" }, cmd = "xdg-open http://localhost:3000" },
{ label = "nethogs", bin = "nethogs", pkg = "nethogs", { label = "nethogs", bin = "nethogs", pkg = "nethogs",
cmd = "xfce4-terminal --title='nethogs' -e 'sudo nethogs " .. NIF .. "'" }, cmd = "x-terminal-emulator -e bash -c 'sudo nethogs " .. NIF ..
"; read -p \"Enter para cerrar...\" _'" },
} }
local LAUNCH = os.getenv("HOME") .. "/.config/conky/conky_widget/lua/launch.sh" local LAUNCH = os.getenv("HOME") .. "/.config/conky/conky_widget/lua/launch.sh"