From e690963fb6c0240171236fc2d669f95ee26b6798 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sun, 30 Mar 2025 15:48:01 +0530 Subject: Remove from router on window close --- config.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'config.lua') diff --git a/config.lua b/config.lua index 67e6f15..793a2dc 100644 --- a/config.lua +++ b/config.lua @@ -1,9 +1,9 @@ print('hello starting up...') --- @type table -web = web +local web = web --- @type table -uv = uv +local uv = uv local function trim(s) local res, _ = string.gsub(s, "^%s*(.-)%s*$", "%1") @@ -36,7 +36,7 @@ function Dmenu.select(list, opts, callback) end end) - uv.read_start(stdout, function(_err, data) + uv.read_start(stdout, function(_, data) if data then selection = data end end) -- cgit v1.3.1