diff --git a/lua/widget.lua b/lua/widget.lua index d3b379b..1902d4c 100644 --- a/lua/widget.lua +++ b/lua/widget.lua @@ -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"