globals.lua

changeset 1
4d7540af8518
parent 0
98e4b0c9fcac
child 3
547eaf259e9d
equal deleted inserted replaced
0:98e4b0c9fcac 1:4d7540af8518
1 -- Global variables for luakit 1 -- Global variables for luakit
2 globals = { 2 globals = {
3 homepage = "http://luakit.org/", 3 homepage = "http://google.co.uk/",
4 -- homepage = "http://github.com/mason-larobina/luakit",
5 scroll_step = 20, 4 scroll_step = 20,
6 zoom_step = 0.1, 5 zoom_step = 0.1,
7 max_cmd_history = 100, 6 max_cmd_history = 100,
8 max_srch_history = 100, 7 max_srch_history = 100,
9 -- http_proxy = "http://example.com:3128", 8 -- http_proxy = "http://example.com:3128",
10 download_dir = luakit.get_special_dir("DOWNLOAD") or (os.getenv("HOME") .. "/downloads"), 9 download_dir = luakit.get_special_dir("DOWNLOAD") or (os.getenv("HOME") .. "/Downloads"),
11 } 10 }
12 11
13 -- Make useragent 12 -- Make useragent
14 local rv, out, err = luakit.spawn_sync("uname -sm") 13 local rv, out, err = luakit.spawn_sync("uname -sm")
15 local webkit_version = string.format("WebKitGTK+/%d.%d.%d", luakit.webkit_major_version, 14 local webkit_version = string.format("WebKitGTK+/%d.%d.%d", luakit.webkit_major_version,

mercurial