widgets: add a (long) timeout for battery notification

This commit is contained in:
Vincent Bernat 2012-07-25 18:31:31 +02:00
parent 315f902728
commit 881d41cdb8

View file

@ -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.",