From e2a692d9972819bab806df78897b82b132a3933f Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Tue, 21 Aug 2018 13:15:33 +0300 Subject: [PATCH] fix: net_widget:buttons added. --- rc.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/rc.lua b/rc.lua index eec2ce2..bd6b0c8 100644 --- a/rc.lua +++ b/rc.lua @@ -249,6 +249,7 @@ function show_nethogs () end icon_net:buttons(awful.util.table.join(awful.button({ }, 1, function () show_nload("wan0") end), awful.button({ }, 1, show_nethogs))) icon_wifi:buttons(awful.util.table.join(awful.button({ }, 1, function () show_nload("wifi0") end), awful.button({ }, 1, show_nethogs))) +net_widget:buttons(awful.util.table.join(awful.button({ }, 1, function () show_nload("") end), awful.button({ }, 1, show_nethogs))) vicious.register(net_widget, vicious.widgets.net, '${wan0 down_mb}^${wan0 up_mb} mb/s ${wifi0 down_mb}^${wifi0 up_mb}', 2) -- VOL icon