alacritty, neovide: windows adjustments

slight opacity, and maximize window
This commit is contained in:
dogeystamp 2024-08-15 18:46:59 -04:00
parent 8d19e64087
commit 9e83e45936
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38
2 changed files with 7 additions and 3 deletions

View File

@ -1,6 +1,8 @@
[window]
padding = { x = 8, y = 8 }
opacity = 0.0
opacity = 0.1
startup_mode = "Maximized"
decorations = "None"
[font]
normal = { family = "JetBrainsMono NF" }

View File

@ -13,7 +13,8 @@ if vim.g.neovide then
vim.g.neovide_padding_top = 8
vim.g.neovide_padding_bottom = 8
vim.g.neovide_padding_left = 8
vim.g.transparency = 1
vim.g.neovide_transparency = 0.1
vim.g.neovide_fullscreen = true
vim.g.neovide_background_color = "#000000" .. 0
vim.g.neovide_cursor_trail_size = 0.1
@ -43,6 +44,7 @@ if vim.g.neovide then
-- "new-term" in working directory
keymap("<C-S-Return>", function()
vim.system({ 'sh', '-c', 'alacritty msg create-window --working-directory "$(pwd)" || alacritty' }, { detach = true })
vim.system({ 'sh', '-c', 'alacritty msg create-window --working-directory "$(pwd)" || alacritty' },
{ detach = true })
end, { mode = { "n", "i", "v", "t", "c" } })
end