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

Prefix variables to add user defined static symbols #52

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

XelorR
Copy link

@XelorR XelorR commented Jan 24, 2024

#51
Implemented following variables:

hydro_prefix_beginning
hydro_prefix_git
hydro_prefix_pwd
hydro_prefix_duration

hydro_prefix_beginning can be colored with new introduced color variable: hydro_color_beginning

It is possible to add user-defined static text to prepend blocks, like this:

set --global hydro_multiline true

set --global hydro_color_prompt 94e2d5
set --global hydro_color_error f38ba8
set --global hydro_color_pwd b4befe
set --global hydro_color_git f9e2af
set --global hydro_color_duration 94e2d5
#set --global hydro_color_beginning 94e2d5

set --global hydro_prefix_beginning \n"$os_icon "
set --global hydro_prefix_git ""
set --global hydro_prefix_pwd ""
set --global hydro_prefix_duration "󰅐 "

Screenshot_20240123_235336

@jorgebucaran
Copy link
Owner

Thanks, @XelorR! 👀

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

Successfully merging this pull request may close these issues.

2 participants