mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-08-01 16:54:25 +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(
|
batwidget.lastid = naughty.notify(
|
||||||
{ title = "Battery low!",
|
{ title = "Battery low!",
|
||||||
preset = naughty.config.presets.critical,
|
preset = naughty.config.presets.critical,
|
||||||
|
timeout = 20,
|
||||||
text = "Battery level is currently " ..
|
text = "Battery level is currently " ..
|
||||||
current .. "%.\n" .. args[3] ..
|
current .. "%.\n" .. args[3] ..
|
||||||
" left before running out of power.",
|
" left before running out of power.",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue