summaryrefslogtreecommitdiff
path: root/battery-widget
diff options
context:
space:
mode:
authorAurélien LAJOIE <orel@melix.net>2020-04-15 19:00:10 +0200
committerAurélien LAJOIE <orel@melix.net>2020-04-15 19:00:10 +0200
commit92e411da972fe8a2ab0297c01e96ab76d72e498e (patch)
tree92038c2135f9b231d5efec88352f0923a5b4e4d0 /battery-widget
parent34598dca85565bf3b051a9f14d9b945c087f6fd1 (diff)
Display the notification on the current screen
Diffstat (limited to 'battery-widget')
-rw-r--r--battery-widget/battery.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/battery-widget/battery.lua b/battery-widget/battery.lua
index d84e591..919fb60 100644
--- a/battery-widget/battery.lua
+++ b/battery-widget/battery.lua
@@ -84,6 +84,7 @@ local function worker(args)
position = position,
timeout = 5, hover_timeout = 0.5,
width = 200,
+ screen = mouse.screen
}
end
)
@@ -109,6 +110,7 @@ local function worker(args)
bg = "#F06060",
fg = "#EEE9EF",
width = 300,
+ screen = mouse.screen
}
end
local last_battery_check = os.time()