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

Synth-shell-prompt integration #213

Open
chrostino opened this issue Jun 20, 2024 · 2 comments
Open

Synth-shell-prompt integration #213

chrostino opened this issue Jun 20, 2024 · 2 comments

Comments

@chrostino
Copy link

Is your feature request related to a problem? Please describe.
Using kde-material-you-colors together with synth-shell-prompt makes it hard to read the user, host and path

Describe the solution you'd like
an integration that makes it so the config file for synth-shell-prompt is modified with colors pulled from pywall maybe

Describe alternatives you've considered
an alternative could be finding a static configuration for synth-shell-prompt that is able to make use of the changing colors while staying readable, but I wasn't able to find one

Additional context
a screenshot of the terminal with kde-material-you-colors running and synth-shell-prompt installed (with the default config)
image

@luisbocanegra
Copy link
Owner

luisbocanegra commented Jun 20, 2024

Please export your prompt configuration so I can test the colors myself. I have seen other situations where programs have a very hard to read text when they color both foreground and background when drawing text and would like to add an option to improve that.

I think on bash this should do:

echo -e "$PS1" > a.txt

then paste the contents of that file here

@chrostino
Copy link
Author

\[�]0;${USER}@${HOSTNAME}: ${SSP_PWD}�\]
\[�[0;97;44;1m\] brudda \[�[0;34;104m\]\[�[0;0m\]\[�[0;97;104;1m\] linux-gaming \[�[0;94;107m\]\[�[0;0m\]\[�[0;90;107;1m\] ~ \[�[0;97;49m\]\[�[0;0m\]\[�[0;30;49;1m\] \[�[0;30;49;1m\]

there are some characters that can't be shown because synth-shell makes use of characters from nerd fonts i believe

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