summaryrefslogtreecommitdiff
path: root/battery-widget
diff options
context:
space:
mode:
authorPavel Makhov <pmakhov@touchtunes.com>2019-03-28 14:45:18 -0400
committerPavel Makhov <pmakhov@touchtunes.com>2019-03-28 14:45:18 -0400
commite0abe1c474359a54b008d0261da21e4bf2d6bc0f (patch)
treec294946e64ac3c6656f2bae4efe141d38df53021 /battery-widget
parent5f6de88d01e2a193882252b681137f0ad6719aea (diff)
parent6782ce86150c3153ad1f2796166b5137abc3b1cb (diff)
Merge branch 'master' of github.com:streetturtle/awesome-wm-widgets
Diffstat (limited to 'battery-widget')
-rw-r--r--battery-widget/battery.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/battery-widget/battery.lua b/battery-widget/battery.lua
index d59fdc6..6d9f086 100644
--- a/battery-widget/battery.lua
+++ b/battery-widget/battery.lua
@@ -35,6 +35,7 @@ local notification
local function show_battery_status()
awful.spawn.easy_async([[bash -c 'acpi']],
function(stdout, _, _, _)
+ naughty.destroy(notification)
notification = naughty.notify{
text = stdout,
title = "Battery status",