From 9e83e4593655decde81c7975bab60fbc466a65e8 Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Thu, 15 Aug 2024 18:46:59 -0400 Subject: [PATCH] alacritty, neovide: windows adjustments slight opacity, and maximize window --- src/dot_config/alacritty/alacritty.toml | 4 +++- src/dot_config/nvim/lua/frontend.lua | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/dot_config/alacritty/alacritty.toml b/src/dot_config/alacritty/alacritty.toml index 281a3a0..8bbd313 100644 --- a/src/dot_config/alacritty/alacritty.toml +++ b/src/dot_config/alacritty/alacritty.toml @@ -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" } diff --git a/src/dot_config/nvim/lua/frontend.lua b/src/dot_config/nvim/lua/frontend.lua index 5e199a2..c427af1 100644 --- a/src/dot_config/nvim/lua/frontend.lua +++ b/src/dot_config/nvim/lua/frontend.lua @@ -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("", 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