end-4 / dots-hyprland

Modern, feature-rich and accessible desktop configuration.
https://end-4.github.io/dots-hyprland-wiki/en/
GNU General Public License v3.0
3.34k stars 218 forks source link

Meaningful terminal colors and harmony 😌 #394

Closed midn8hustlr closed 3 months ago

midn8hustlr commented 3 months ago

Problem:

  1. The current terminal colors are dull and lack meaningful distinctions. Overuse of the accent color makes it hard to quickly differentiate file types (directories, executables, etc.).
  2. Text visibility is poor, especially in light mode. Commands, executables, Git branches, and file sizes are hard to read.
  3. Other minor issues, like the autocomplete suggestion blending with typed commands, further hinder usability.
Dark mode Light mode
Image 1 Image 2

Solution:

  1. Adopt popular, well-designed terminal color schemes. But might not align with the theme accent ☹️.
  2. Avoid fully randomized color scheme generation (like pywal). It becomes difficult to recognize elements consistently (you have to pretty much relearn the scheme after changing theme).
  3. The ideal solution: Harmonize popular color schemes with accent colors derived from the wallpaper. Thanks to materialyoucolor-python. This creates a visually pleasing and functional experience.

EyeCandy πŸ˜‹

image image image image image

Configuration πŸ€“

  1. Choose between multiple colorschemes in colorgen.sh (or add custom schemes in ~/.config/ags/scripts/templates/terminal)
Catppuccin VS Code Gruvbox
Image 1 Image 2 Image 2
  1. Control how much to blend with accent (make it more boring). Use harmony as a multiplier for hue shift. To preserve the semantic meaning of static colors (such as a red to communicate errors), threshold limits the amount that a color’s hue can change. Harmonized colors will become warmer or cooler in hue without appearing like another type of color.
Conservative Moderate Liberal
harmony: 0.5
threshold: 15
blend_bg_fg: False
harmony: 0.5
threshold: 35
blend_bg_fg: True
harmony: 0.9
threshold: 180
blend_bg_fg: True
Image 1 Image 2 Image 2

I would welcome your thoughts and suggestions on this.

end-4 commented 3 months ago

Very cool. I've been busy... Somehow when I test this I finally can reproduce #399. I'll have to see what's causing it

end-4 commented 3 months ago

I'm getting generate_colors_material.py: error: unrecognized arguments: True from the python script oh i see

end-4 commented 3 months ago

Fixed Thanks for your contribution!

end-4 commented 3 months ago

may i have the miku wall πŸ‘‰πŸ‘ˆ

midn8hustlr commented 3 months ago

Sure wallpaperflare com_wallpaper