From 8d899714084851c1121ebd62eaadeab33b7252d1 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 3 May 2014 17:48:56 -0300 Subject: Minor customizations --- config.dot/luakit.link/globals.lua | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/config.dot/luakit.link/globals.lua b/config.dot/luakit.link/globals.lua index 64aaea2..4301bd7 100644 --- a/config.dot/luakit.link/globals.lua +++ b/config.dot/luakit.link/globals.lua @@ -1,6 +1,10 @@ +-- Environment +homedir = os.getenv("HOME") + -- Global variables for luakit globals = { - homepage = "http://luakit.org/", + homepage = homedir .. "/html/index.html", + -- homepage = "http://luakit.org/", -- homepage = "http://github.com/mason-larobina/luakit", scroll_step = 40, zoom_step = 0.1, @@ -39,8 +43,8 @@ for _, ca_file in ipairs(ca_files) do end end --- Change to stop navigation sites with invalid or expired ssl certificates -soup.ssl_strict = false +-- Stop navigation sites with invalid or expired ssl certificates +soup.ssl_strict = true -- Set cookie acceptance policy cookie_policy = { always = 0, never = 1, no_third_party = 2 } @@ -62,7 +66,7 @@ search_engines = { netflix = "http://dvd.netflix.com/Search?v1=%s", } --- Set google as fallback search engine +-- Set fallback search engine search_engines.default = search_engines.duckduckgo -- Use this instead to disable auto-searching --search_engines.default = "%s" -- cgit v1.2.3