summaryrefslogtreecommitdiff
path: root/battery-widget
diff options
context:
space:
mode:
authorstreetturtle <streetturtle@users.noreply.github.com>2020-04-15 13:04:07 -0400
committerGitHub <noreply@github.com>2020-04-15 13:04:07 -0400
commit1b32ea3150fda5d3f955ee1c97c9c565c6620506 (patch)
tree92038c2135f9b231d5efec88352f0923a5b4e4d0 /battery-widget
parent34598dca85565bf3b051a9f14d9b945c087f6fd1 (diff)
parent92e411da972fe8a2ab0297c01e96ab76d72e498e (diff)
Merge pull request #130 from utix/master
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()