luakit: add anti-rounded-corners stuff

This commit is contained in:
LordMZTE 2022-02-13 22:10:51 +01:00
parent c4030a1d09
commit c3d2eb0c85
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6
5 changed files with 15 additions and 2 deletions

View file

@ -0,0 +1,8 @@
local lfs = require "lfs"
local styles = require "styles"
for f in lfs.dir(luakit.config_dir .. "/styles") do
if f:match [[.css$]] then
styles.load_file(luakit.config_dir .. "/styles/" .. f)
end
end

View file

@ -0,0 +1,5 @@
@-moz-document regexp(".*") {
:root * {
border-radius: 0 !important;
}
}

View file

@ -1,2 +1,3 @@
require "cmds" require "cmds"
require "usersettings" require "usersettings"
require "load_styles"

View file

@ -14,4 +14,4 @@ settings.webview.serif_font_family = "Iosevka"
settings.window.default_search_engine = "duckduckgo" settings.window.default_search_engine = "duckduckgo"
settings.window.home_page = "luakit://newtab" settings.window.home_page = "luakit://newtab"
require "editor".editor_cmd = "neovide --nofork {file}" require("editor").editor_cmd = "neovide --nofork {file}"

View file

@ -2,4 +2,3 @@ local g = vim.g
g.neovide_transparency = 0.9 g.neovide_transparency = 0.9
g.neovide_cursor_vfx_mode = "wireframe" g.neovide_cursor_vfx_mode = "wireframe"