mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-31 08:14:26 +02:00
widgets: add a (long) timeout for battery notification
This commit is contained in:
parent
315f902728
commit
881d41cdb8
1 changed files with 1 additions and 0 deletions
|
@ -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.",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue