From 487592695a99df1048e53985bd84da6c6d6c60c4 Mon Sep 17 00:00:00 2001 From: Mitchell Riedstra Date: Tue, 6 Jan 2026 18:21:56 -0500 Subject: Opacity for ghostty and nvim --- dotfiles/ghostty/config | 18 ++++++++++++++---- dotfiles/nvim/init.lua | 8 ++++++++ 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/dotfiles/ghostty/config b/dotfiles/ghostty/config index 61e4079..dbf7e24 100644 --- a/dotfiles/ghostty/config +++ b/dotfiles/ghostty/config @@ -1,12 +1,13 @@ +background-opacity = .95 # theme = "Gruvbox Light" -theme = "Gruvbox Dark" +# theme = "Gruvbox Dark" # theme = "Nord" # theme = "3024 Night" # theme = "3024 Day" # theme = "CGA" # theme = "Deep" # theme = "IBM 5153 CGA (Black)" -# theme = "IRIX Console" +theme = "IRIX Console" # theme = "IRIX Terminal" # font-family = "IBM 3270" @@ -21,6 +22,13 @@ font-size = 14 # font-family = "Iosevka Term Slab" # font-size = 11 +# font-family = "IBM 3270 Condensed" +# font-size = 14 +# font-size = 16 + +# font-family = "Berkeley Mono Fixed" +# font-size = 10.5 + # font-family = "IBM Plex Mono" # Mac # font-size = 13 @@ -30,8 +38,10 @@ font-size = 14 # font-family = "Monofonto" # font-size = 14 -# window-theme = ghostty -# gtk-titlebar = false + +window-theme = ghostty +gtk-titlebar = true +# gtk-titlebar-style = native gtk-wide-tabs = false cursor-style = block diff --git a/dotfiles/nvim/init.lua b/dotfiles/nvim/init.lua index 8d5edb9..8e95135 100644 --- a/dotfiles/nvim/init.lua +++ b/dotfiles/nvim/init.lua @@ -163,3 +163,11 @@ vim.lsp.config['gopls'] = { } vim.lsp.enable('gopls') + +-- useful mostly with 'quiet', and similar builtin themes, so that the +-- transparent terminal background still applies +vim.api.nvim_create_user_command('NoColorschemeBg', + function(opts) + vim.cmd("hi Normal guibg=NONE ctermbg=NONE") + vim.cmd("hi EndOfBuffer guibg=NONE ctermbg=NONE") + end, {}) -- cgit v1.2.3