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

Add fade options for promt heads and tails #528

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ function powerline_prompt_heads
set -g fake_tide_right_prompt_prefix 
_tide_display_prompt

_tide_option 4 Fade
set -g fake_tide_left_prompt_suffix ▓▒░
set -g fake_tide_right_prompt_prefix ░▒▓
_tide_display_prompt

_tide_menu (status function)
switch $_tide_selected_option
case Sharp
Expand All @@ -27,6 +32,9 @@ function powerline_prompt_heads
case Round
set -g fake_tide_left_prompt_suffix 
set -g fake_tide_right_prompt_prefix 
case Fade
set -g fake_tide_left_prompt_suffix ▓▒░
set -g fake_tide_right_prompt_prefix ░▒▓
end
_next_choice powerline/powerline_prompt_tails
end
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ function powerline_prompt_tails
set -g fake_tide_right_prompt_suffix 
_tide_display_prompt

_tide_option 5 Fade
set -g fake_tide_left_prompt_prefix ░▒▓
set -g fake_tide_right_prompt_suffix ▓▒░
_tide_display_prompt

_tide_menu (status function)
switch $_tide_selected_option
case Flat
Expand All @@ -35,6 +40,9 @@ function powerline_prompt_tails
case Round
set -g fake_tide_left_prompt_prefix 
set -g fake_tide_right_prompt_suffix 
case Fade
set -g fake_tide_left_prompt_prefix ░▒▓
set -g fake_tide_right_prompt_suffix ▓▒░
end
_next_choice powerline/powerline_prompt_style
end