]> gitweb.fluxo.info Git - rhatto/dotfiles/luakit.git/commitdiff
Minor customizations
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 3 May 2014 20:48:56 +0000 (17:48 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 3 May 2014 20:48:56 +0000 (17:48 -0300)
config.dot/luakit.link/globals.lua

index 64aaea2a0dc905f617ded78c1f9a713423ed593b..4301bd7df3c5e59ae107776da8357f32ec3f1aec 100644 (file)
@@ -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"