aboutsummaryrefslogtreecommitdiff
path: root/config.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--config.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/config.lua b/config.lua
index 793a2dc..8ce44ad 100644
--- a/config.lua
+++ b/config.lua
@@ -54,6 +54,13 @@ local urls = {
'https://github.com/trending',
}
+web.event.add_listener('UrlChanged', {
+ callback = function(opts)
+ print("URL CHANGE YEAH");
+ print(opts.url);
+ end
+})
+
-- Open in new tab
web.keymap.set('n', 'o', function()
Dmenu.select(urls, { prompt = 'Open tab:' }, function(err, result)