diff options
author | Aurélien LAJOIE <orel@melix.net> | 2020-04-15 19:00:10 +0200 |
---|---|---|
committer | Aurélien LAJOIE <orel@melix.net> | 2020-04-15 19:00:10 +0200 |
commit | 92e411da972fe8a2ab0297c01e96ab76d72e498e (patch) | |
tree | 92038c2135f9b231d5efec88352f0923a5b4e4d0 /battery-widget | |
parent | 34598dca85565bf3b051a9f14d9b945c087f6fd1 (diff) |
Display the notification on the current screen
Diffstat (limited to 'battery-widget')
-rw-r--r-- | battery-widget/battery.lua | 2 |
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() |