▲ | Show HN: Gigawatt, a shell prompt that adapts to your terminal theme(radiosilenceapp.com) | |
2 points by aparadja 12 hours ago | ||
About a year ago, I made myself a shell prompt with Starship. I'm not a huge fan of the bright loud colors in many prompts, so I configured a minimal prompt with subtle colors that fit my terminal theme. The problem is that I actually like changing my theme every now and then. And I use a different theme for my terminal app and e.g. VSCode. A single prompt config couldn't fit into everything. So I built the same prompt from scratch with Swift, and made it automatically adapt to the terminal colors, with proper Lab color interpolation. I used that until a couple of weeks ago, when I wanted pick up Rust. I was quite happy with the hacked-together prompt I had been using for a year, and thought that rewriting it might be a suitable project. I decided to turn this Rust version into an open source project, as I might not be the only one who'd enjoy a fancy powerline prompt without a screaming color palette. The source is available at https://github.com/juuso/gigawatt |