dotfiles/.config/luakit/usersettings.lua.cgt

21 lines
680 B
Text
Raw Normal View History

-- <! tmpl:setPostProcessor(opt.luaCompile) !>
2022-01-29 01:49:36 +01:00
local settings = require "settings"
local font_family = "<% opt.font %>"
2023-01-19 08:37:17 +01:00
2022-01-29 01:49:36 +01:00
settings.application.prefer_dark_mode = true
settings.webview.enable_accelerated_2d_canvas = true
2022-01-30 22:45:17 +01:00
settings.webview.enable_webgl = true
settings.webview.javascript_can_access_clipboard = true
2022-01-29 01:49:36 +01:00
2023-01-19 08:37:17 +01:00
settings.webview.default_font_family = font_family
settings.webview.monospace_font_family = font_family
settings.webview.sans_serif_font_family = font_family
settings.webview.serif_font_family = font_family
2022-01-29 01:49:36 +01:00
settings.window.default_search_engine = "duckduckgo"
settings.window.home_page = "luakit://newtab"
2022-02-05 12:03:11 +01:00
2022-02-13 22:10:51 +01:00
require("editor").editor_cmd = "neovide --nofork {file}"