diff options
| author | Mitchell Riedstra <mitch@riedstra.dev> | 2026-01-06 18:21:56 -0500 |
|---|---|---|
| committer | Mitchell Riedstra <mitch@riedstra.dev> | 2026-01-06 18:21:56 -0500 |
| commit | 487592695a99df1048e53985bd84da6c6d6c60c4 (patch) | |
| tree | 1d0462d3e407bfea50624ea3f354424e79c00e7c | |
| parent | 38f9f165823b6f28af49f22dc7e5b3d9d698aa72 (diff) | |
| download | dotfiles-487592695a99df1048e53985bd84da6c6d6c60c4.tar.gz dotfiles-487592695a99df1048e53985bd84da6c6d6c60c4.tar.xz | |
Opacity for ghostty and nvim
| -rw-r--r-- | dotfiles/ghostty/config | 18 | ||||
| -rw-r--r-- | 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, {}) |
