From 0d956b1b55453e42b7bef4b2530cfa85b7e81525 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Thu, 6 Jun 2019 20:22:59 +0000 Subject: [PATCH] [awesome] do not display notifications for net and bat widgets --- home/.config/awesome/widgets.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/home/.config/awesome/widgets.lua b/home/.config/awesome/widgets.lua index e9604aa..d129dd7 100644 --- a/home/.config/awesome/widgets.lua +++ b/home/.config/awesome/widgets.lua @@ -16,6 +16,7 @@ widgets.netdown_icon = wibox.widget.imagebox(iconsdir .. "down.png") widgets.netdown = lain.widget.net({ units = 1024^2, iface = network_interfaces, + notify = "off", settings = function() widget:set_markup(markup.fontfg(theme.font, theme.colors.green, net_now.received .. "MiB/s ")) end @@ -25,6 +26,7 @@ widgets.netup_icon = wibox.widget.imagebox(iconsdir .. "up.png") widgets.netup = lain.widget.net({ units = 1024^2, iface = network_interfaces, + notify = "off", settings = function() widget:set_markup(markup.fontfg(theme.font, theme.colors.red, net_now.sent .. "MiB/s ")) end @@ -53,6 +55,7 @@ widgets.temp = lain.widget.temp({ widgets.bat_icon = wibox.widget.imagebox(iconsdir .. "bat.png") widgets.bat = lain.widget.bat({ + notify = "off", settings = function() state = bat_now.ac_status == 0 and "D" or "C" widget:set_markup(markup.fontfg(theme.font, theme.fg_normal, state .. bat_now.perc))