From 28f20bc15f1cdcb63ca74c6415c4633e8de6ecca Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Thu, 15 Aug 2024 19:02:56 -0400 Subject: [PATCH] alacritty, neovide: revert changes --- .../alacritty/{alacritty.toml => alacritty.toml.tmpl} | 8 ++++++-- src/dot_config/nvim/lua/frontend.lua | 3 +-- 2 files changed, 7 insertions(+), 4 deletions(-) rename src/dot_config/alacritty/{alacritty.toml => alacritty.toml.tmpl} (91%) diff --git a/src/dot_config/alacritty/alacritty.toml b/src/dot_config/alacritty/alacritty.toml.tmpl similarity index 91% rename from src/dot_config/alacritty/alacritty.toml rename to src/dot_config/alacritty/alacritty.toml.tmpl index 8bbd313..ba0b817 100644 --- a/src/dot_config/alacritty/alacritty.toml +++ b/src/dot_config/alacritty/alacritty.toml.tmpl @@ -1,8 +1,12 @@ [window] padding = { x = 8, y = 8 } -opacity = 0.1 -startup_mode = "Maximized" +dimensions = { columns = 160, lines = 120 } decorations = "None" +{{if eq .chezmoi.os "linux" -}} +opacity = 0.0 +{{- else -}} +opacity = 0.75 +{{- end}} [font] normal = { family = "JetBrainsMono NF" } diff --git a/src/dot_config/nvim/lua/frontend.lua b/src/dot_config/nvim/lua/frontend.lua index c427af1..4d3d627 100644 --- a/src/dot_config/nvim/lua/frontend.lua +++ b/src/dot_config/nvim/lua/frontend.lua @@ -13,8 +13,7 @@ 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.neovide_transparency = 0.1 - vim.g.neovide_fullscreen = true + vim.g.neovide_transparency = 1.0 vim.g.neovide_background_color = "#000000" .. 0 vim.g.neovide_cursor_trail_size = 0.1