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:
+2
-1
@@ -48,7 +48,8 @@ local BTNS = {
|
||||
{ label = "ntopng", bin = "ntopng", pkg = "ntopng",
|
||||
cmd = "xdg-open http://localhost:3000" },
|
||||
{ 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"
|
||||
|
||||
Reference in New Issue
Block a user