Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Previewed Color Palette Not Reflective of Generated Palette #113

Open
maxcroy1 opened this issue Jan 6, 2025 · 1 comment
Open

Previewed Color Palette Not Reflective of Generated Palette #113

maxcroy1 opened this issue Jan 6, 2025 · 1 comment

Comments

@maxcroy1
Copy link

maxcroy1 commented Jan 6, 2025

Hi there!

Editing this ticket as I've understood the true issue at hand.

Seems like the colors previewed in the terminal output seem to be a generic palette in all scenarios, no matter the image.

Screenshot 2025-01-06 at 12 46 53 PM

Generated palettes are working as expected.

Local Environment Details:
Platform: MacBook Pro M1 Max
Terminal Emulator: Ghostty

@maxcroy1 maxcroy1 changed the title Color Palette Not Generated Previewed Color Palette Not Reflective of Generated Palette Jan 6, 2025
@eylles
Copy link
Owner

eylles commented Jan 7, 2025

sorry just viewed this rn, yeh that is because of how ghostty does colors, the color palette it shows is definitely ghotty's default palette.

doing a quick look on the documentation: https://ghostty.org/docs/config/reference#config-file
it seems ghostty is completely capable of having "sub" config files to be loaded from the main config file, that means you can create a sub config template to change only the colors to be used inside ghostty, pywal16 will "build" that template inside $XDG_CACHE_HOME/wal/ and you can simply load it directly from your ghostty config.

if you figure out the names of the keys that ghostty uses for colors, and build a template eg:

background_color={background}
foreground_color={foreground}
cursor_color={cursor}

color_0={color0}
...
color_15={color15}

i'll be more than happy to add the template to pywal16 before the next release that i plan to do this month.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants