oh-my-fish / theme-bobthefish

A Powerline-style, Git-aware fish theme optimized for awesome.
MIT License
1.46k stars 225 forks source link

Strange vertical lines on either side of git symbol #279

Closed dyspr0sium closed 3 years ago

dyspr0sium commented 3 years ago

Hi,

I'm seeing a strange red and green line on either side of the git symbol, where the arrow symbols are: Screenshot from 2020-10-22 14-18-05 They don't appear on the arrow when the working directory is not a git repo. It appears regardless of which font I use (default Ubuntu Monospace or UbuntoMono Nerd Font), and various permutations of theme_powerline_fonts/theme_nerd_fonts yes/no and theme_color_scheme.

Any idea on how to make them go away?

bobthecow commented 3 years ago

They probably appear anywhere the prompt has multiple colored segments in it, though they might be more noticeable with certain colors.

They're a rendering artifact, caused by the fact that the "body" of each segment uses terminal background colors, and the "point" uses foreground colors. Certain terminal apps, certain color schemes, and certain settings, seem to make them better or worse.

I don't think I've seen the red/green lines though. My guess is that they're related to subpixel-antialiasing.

What terminal app, OS, desktop manager, etc are you using?

dyspr0sium commented 3 years ago

I'm on Ubuntu 20.04.1, using the default GNOME.

You were spot on; I changed Fonts>Antialiasing from "Subpixel (for LCD screens)" to "Standard (grayscale)" in gnome-tweaks and the issue was resolved. Thanks!

bobthecow commented 3 years ago

Great! Glad I could help 🙂