summaryrefslogtreecommitdiff
path: root/home-config/fish/functions/tide/configure/choices/classic
diff options
context:
space:
mode:
Diffstat (limited to 'home-config/fish/functions/tide/configure/choices/classic')
-rw-r--r--home-config/fish/functions/tide/configure/choices/classic/classic_prompt_color.fish38
-rw-r--r--home-config/fish/functions/tide/configure/choices/classic/classic_prompt_separators.fish40
2 files changed, 78 insertions, 0 deletions
diff --git a/home-config/fish/functions/tide/configure/choices/classic/classic_prompt_color.fish b/home-config/fish/functions/tide/configure/choices/classic/classic_prompt_color.fish
new file mode 100644
index 0000000..77ceeaf
--- /dev/null
+++ b/home-config/fish/functions/tide/configure/choices/classic/classic_prompt_color.fish
@@ -0,0 +1,38 @@
1function classic_prompt_color
2 _tide_title 'Prompt Color'
3
4 _tide_option 1 Lightest
5 _set_all_items_bg_color 585858
6 _tide_display_prompt
7
8 _tide_option 2 Light
9 _set_all_items_bg_color 444444
10 _tide_display_prompt
11
12 _tide_option 3 Dark
13 _set_all_items_bg_color 303030
14 _tide_display_prompt
15
16 _tide_option 4 Darkest
17 _set_all_items_bg_color 1C1C1C
18 _tide_display_prompt
19
20 _tide_menu (status function)
21 switch $_tide_selected_option
22 case Lightest
23 _set_all_items_bg_color 585858
24 case Light
25 _set_all_items_bg_color 444444
26 case Dark
27 _set_all_items_bg_color 303030
28 case Darkest
29 _set_all_items_bg_color 1C1C1C
30 end
31 _next_choice all/show_time
32end
33
34function _set_all_items_bg_color -a color
35 for var in (set --names | string match -r "fake_.*_bg_color.*")
36 set $var $color
37 end
38end
diff --git a/home-config/fish/functions/tide/configure/choices/classic/classic_prompt_separators.fish b/home-config/fish/functions/tide/configure/choices/classic/classic_prompt_separators.fish
new file mode 100644
index 0000000..20af6cd
--- /dev/null
+++ b/home-config/fish/functions/tide/configure/choices/classic/classic_prompt_separators.fish
@@ -0,0 +1,40 @@
1function classic_prompt_separators
2 _tide_title 'Prompt Separators'
3
4 _tide_option 1 Angled
5 set -g fake_tide_left_prompt_separator_same_color 
6 set -g fake_tide_right_prompt_separator_same_color 
7 _tide_display_prompt
8
9 _tide_option 2 Vertical
10 set -g fake_tide_left_prompt_separator_same_color │
11 set -g fake_tide_right_prompt_separator_same_color │
12 _tide_display_prompt
13
14 _tide_option 3 Slanted
15 set -g fake_tide_left_prompt_separator_same_color ╱
16 set -g fake_tide_right_prompt_separator_same_color ╱
17 _tide_display_prompt
18
19 _tide_option 4 Round
20 set -g fake_tide_left_prompt_separator_same_color 
21 set -g fake_tide_right_prompt_separator_same_color 
22 _tide_display_prompt
23
24 _tide_menu (status function)
25 switch $_tide_selected_option
26 case Angled
27 set -g fake_tide_left_prompt_separator_same_color 
28 set -g fake_tide_right_prompt_separator_same_color 
29 case Vertical
30 set -g fake_tide_left_prompt_separator_same_color │
31 set -g fake_tide_right_prompt_separator_same_color │
32 case Slanted
33 set -g fake_tide_left_prompt_separator_same_color ╱
34 set -g fake_tide_right_prompt_separator_same_color ╱
35 case Round
36 set -g fake_tide_left_prompt_separator_same_color 
37 set -g fake_tide_right_prompt_separator_same_color 
38 end
39 _next_choice powerline/powerline_prompt_heads
40end