Skip to main content

Making My Terminal Look Like Frosted Glass

Updated 2 min readMarkdown
Part of seriesTerminal Diaries

One flag clears the editor background. Getting every floating window on top of it to match took about fifteen more.

I run Ghostty with background blur turned on, so anything behind the terminal window shows through as a soft smear instead of a hard edge. The idea was simple going in: turn on transparency in Catppuccin, done. It wasn't done. The one flag gets you partway there, and the rest is a longer list than I expected.

The flag itself is one line:

opts = {
  flavour                = "mocha",
  transparent_background = true,   -- key for glass effect with Ghostty
  term_colors            = true,
  ...
}

That clears the main editor background. What it doesn't touch is every floating window a plugin draws on top of the editor: Telescope's preview pane, the completion menu, WhichKey's popup, Snacks' picker and dashboard and notifications. Each of those is its own highlight group, painted separately, and each one kept its solid background after I turned transparency on. So the file behind my cursor went glass and every popup on top of it stayed a flat rectangle. It looked worse than no transparency at all, honestly, like a window with one pane replaced and the rest still painted over.

Fixing it meant going group by group:

NormalFloat           = { bg = "NONE" },
TelescopeNormal       = { bg = "NONE" },
SnacksPickerNormal    = { bg = "NONE" },
SnacksDashboardNormal = { bg = "NONE" },
WhichKeyNormal        = { bg = "NONE" },
Pmenu                 = { bg = "NONE" },

roughly fifteen of these in total, one per plugin's own floating surface. There's no single "make everything transparent" switch because there's no single thing rendering all of it. Each plugin owns its own window and its own highlight namespace, so each one needs telling separately.

Was it worth fifteen highlight overrides for an effect that's purely cosmetic? Probably not for productivity. But I look at this screen for hours a day, and there's a real difference between an editor that feels like a solid block sitting on my desktop and one that feels like it's actually part of the same window as everything else behind it.

5 views

About the author

  • I'm Sushanth, a high school senior in Hyderabad, India. This is where I write about the things I spend time on: learning from mistakes, building things in code, and the tools I actually work with day to day. I hold the Candidate Master title and a FIDE International Master norm, earned across roughly 140 rated tournaments in six countries. I stopped competing in 2025, but the habit competition taught me, sitting down after every loss and figuring out exactly where I went wrong, shapes how I approach everything else. On the technical side, I've gone deep on C/C++ through Duke University and University of London coursework. I'm also someone who likes a good terminal workflow and enjoys exploring (and abandoning) productivity tools. Expect posts on Neovim, tmux, what broke this week, and whatever I'm tinkering with.

No comments yet. Be the first to comment.