tide (fish prompt) installed

This commit is contained in:
Ivan Golikov 2024-12-15 22:07:18 +01:00
parent 142fd7eaa4
commit e83440486a
85 changed files with 2589 additions and 62 deletions

View file

@ -0,0 +1,38 @@
function classic_prompt_color
_tide_title 'Prompt Color'
_tide_option 1 Lightest
_set_all_items_bg_color 585858
_tide_display_prompt
_tide_option 2 Light
_set_all_items_bg_color 444444
_tide_display_prompt
_tide_option 3 Dark
_set_all_items_bg_color 303030
_tide_display_prompt
_tide_option 4 Darkest
_set_all_items_bg_color 1C1C1C
_tide_display_prompt
_tide_menu (status function)
switch $_tide_selected_option
case Lightest
_set_all_items_bg_color 585858
case Light
_set_all_items_bg_color 444444
case Dark
_set_all_items_bg_color 303030
case Darkest
_set_all_items_bg_color 1C1C1C
end
_next_choice all/show_time
end
function _set_all_items_bg_color -a color
for var in (set --names | string match -r "fake_.*_bg_color.*")
set $var $color
end
end

View file

@ -0,0 +1,40 @@
function classic_prompt_separators
_tide_title 'Prompt Separators'
_tide_option 1 Angled
set -g fake_tide_left_prompt_separator_same_color
set -g fake_tide_right_prompt_separator_same_color
_tide_display_prompt
_tide_option 2 Vertical
set -g fake_tide_left_prompt_separator_same_color
set -g fake_tide_right_prompt_separator_same_color
_tide_display_prompt
_tide_option 3 Slanted
set -g fake_tide_left_prompt_separator_same_color
set -g fake_tide_right_prompt_separator_same_color
_tide_display_prompt
_tide_option 4 Round
set -g fake_tide_left_prompt_separator_same_color
set -g fake_tide_right_prompt_separator_same_color
_tide_display_prompt
_tide_menu (status function)
switch $_tide_selected_option
case Angled
set -g fake_tide_left_prompt_separator_same_color
set -g fake_tide_right_prompt_separator_same_color
case Vertical
set -g fake_tide_left_prompt_separator_same_color
set -g fake_tide_right_prompt_separator_same_color
case Slanted
set -g fake_tide_left_prompt_separator_same_color
set -g fake_tide_right_prompt_separator_same_color
case Round
set -g fake_tide_left_prompt_separator_same_color
set -g fake_tide_right_prompt_separator_same_color
end
_next_choice powerline/powerline_prompt_heads
end