aboutsummaryrefslogtreecommitdiff
path: root/config.dot/luakit.link/rc.lua
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-09-21 16:14:31 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-09-21 16:14:31 -0300
commit49c05a4f1b369675883d8037312a26ead4893a5c (patch)
treee20b057071599f4bcf6967690cf517d26f24e0e7 /config.dot/luakit.link/rc.lua
parente1f2e7910602df6aad5c0f6a82e8458d54e61280 (diff)
downloadluakit-49c05a4f1b369675883d8037312a26ead4893a5c.tar.gz
luakit-49c05a4f1b369675883d8037312a26ead4893a5c.tar.bz2
Major update compatible with current upstream
Diffstat (limited to 'config.dot/luakit.link/rc.lua')
-rw-r--r--config.dot/luakit.link/rc.lua29
1 files changed, 18 insertions, 11 deletions
diff --git a/config.dot/luakit.link/rc.lua b/config.dot/luakit.link/rc.lua
index 1014f36..b04d775 100644
--- a/config.dot/luakit.link/rc.lua
+++ b/config.dot/luakit.link/rc.lua
@@ -163,22 +163,29 @@ local tab_favicons = require "tab_favicons"
-- Add :view-source command
local view_source = require "view_source"
--- Load sessman
---local sessman = require "sessman"
+-- Load sessions
+local sessions = require "sessions"
+
+-- Custom keys
+local keys = require "keys"
+
+-- Globals
+local userprefs = require "userprefs"
-----------------------------
-- End user script loading --
-----------------------------
-- Restore last saved session
-local w = (not luakit.nounique) and (session and session.restore())
-if w then
- for i, uri in ipairs(uris) do
- w:new_tab(uri, { switch = i == 1 })
- end
-else
- -- Or open new window
- window.new(uris)
-end
+--local w = (not luakit.nounique) and (session and session.restore())
+--if w then
+-- for i, uri in ipairs(uris) do
+-- w:new_tab(uri, { switch = i == 1 })
+-- end
+--else
+-- -- Or open new window
+-- window.new(uris)
+--end
+window.new(uris)
-- vim: et:sw=4:ts=8:sts=4:tw=80