aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-05-03 17:48:56 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-05-03 17:48:56 -0300
commit8d899714084851c1121ebd62eaadeab33b7252d1 (patch)
tree54ab3133a944f610d0892fcbd6121502f81ccb85
parentffe7addc92609135a897a09a4c8738f9961b2bbe (diff)
downloadluakit-8d899714084851c1121ebd62eaadeab33b7252d1.tar.gz
luakit-8d899714084851c1121ebd62eaadeab33b7252d1.tar.bz2
Minor customizations
-rw-r--r--config.dot/luakit.link/globals.lua12
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"