From 881d41cdb893afc8e9503a1f7bc00d3ce0ef2321 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Wed, 25 Jul 2012 18:31:31 +0200 Subject: [PATCH] widgets: add a (long) timeout for battery notification --- rc/widgets.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/rc/widgets.lua b/rc/widgets.lua index 205da29..8802beb 100644 --- a/rc/widgets.lua +++ b/rc/widgets.lua @@ -36,6 +36,7 @@ if config.hostname == "guybrush" then batwidget.lastid = naughty.notify( { title = "Battery low!", preset = naughty.config.presets.critical, + timeout = 20, text = "Battery level is currently " .. current .. "%.\n" .. args[3] .. " left before running out of power.",