aboutsummaryrefslogtreecommitdiff
path: root/config.lua
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-03-30 15:48:01 +0530
committerAkshay Nair <phenax5@gmail.com>2025-03-30 15:48:01 +0530
commite690963fb6c0240171236fc2d669f95ee26b6798 (patch)
tree367a74e7d23c44ff6d9a576dc08e34cf43e2d65c /config.lua
parent997891b27d17377111f484c62ba41caf15475d72 (diff)
downloadnull-browser-e690963fb6c0240171236fc2d669f95ee26b6798.tar.gz
null-browser-e690963fb6c0240171236fc2d669f95ee26b6798.zip
Remove from router on window close
Diffstat (limited to 'config.lua')
-rw-r--r--config.lua6
1 files changed, 3 insertions, 3 deletions
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)