mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-12-14 07:13:47 +01:00
luakit: add anti-rounded-corners stuff
This commit is contained in:
parent
c4030a1d09
commit
c3d2eb0c85
5 changed files with 15 additions and 2 deletions
8
.config/luakit/load_styles.lua
Normal file
8
.config/luakit/load_styles.lua
Normal 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
|
5
.config/luakit/styles/no_rounded_corners.css
Normal file
5
.config/luakit/styles/no_rounded_corners.css
Normal file
|
@ -0,0 +1,5 @@
|
|||
@-moz-document regexp(".*") {
|
||||
:root * {
|
||||
border-radius: 0 !important;
|
||||
}
|
||||
}
|
|
@ -1,2 +1,3 @@
|
|||
require "cmds"
|
||||
require "usersettings"
|
||||
require "load_styles"
|
||||
|
|
|
@ -14,4 +14,4 @@ settings.webview.serif_font_family = "Iosevka"
|
|||
settings.window.default_search_engine = "duckduckgo"
|
||||
settings.window.home_page = "luakit://newtab"
|
||||
|
||||
require "editor".editor_cmd = "neovide --nofork {file}"
|
||||
require("editor").editor_cmd = "neovide --nofork {file}"
|
||||
|
|
|
@ -2,4 +2,3 @@ local g = vim.g
|
|||
|
||||
g.neovide_transparency = 0.9
|
||||
g.neovide_cursor_vfx_mode = "wireframe"
|
||||
|
||||
|
|
Loading…
Reference in a new issue