diff options
-rw-r--r-- | config.dot/luakit.link/globals.lua | 12 |
1 files 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" |