summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--volume-widget/volume.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/volume-widget/volume.lua b/volume-widget/volume.lua
index 2544d14..df1a9f4 100644
--- a/volume-widget/volume.lua
+++ b/volume-widget/volume.lua
@@ -67,6 +67,7 @@ local function worker(args)
local function show_volume(val)
spawn.easy_async(GET_VOLUME_CMD,
function(stdout, _, _, _)
+ naughty.destroy(notification)
notification = naughty.notify{
text = get_notification_text(stdout),
icon=path_to_icons .. val .. ".svg",