summaryrefslogtreecommitdiff
path: root/.config/fish/functions/tide/configure/choices/powerline/powerline_prompt_heads.fish
diff options
context:
space:
mode:
authorRoger Gonzalez <roger@rogs.me>2023-03-18 16:40:57 -0300
committerRoger Gonzalez <roger@rogs.me>2023-03-18 16:40:57 -0300
commit8600374371f91843064441113f4023cda1730877 (patch)
treebb4677ec186dd5c323f1f010207076b7df285606 /.config/fish/functions/tide/configure/choices/powerline/powerline_prompt_heads.fish
parentc95dd49df12f4f8dc13cf3bdc4dad70a060bd5eb (diff)
General fish fixes and updates
Diffstat (limited to '.config/fish/functions/tide/configure/choices/powerline/powerline_prompt_heads.fish')
-rw-r--r--.config/fish/functions/tide/configure/choices/powerline/powerline_prompt_heads.fish40
1 files changed, 40 insertions, 0 deletions
diff --git a/.config/fish/functions/tide/configure/choices/powerline/powerline_prompt_heads.fish b/.config/fish/functions/tide/configure/choices/powerline/powerline_prompt_heads.fish
new file mode 100644
index 00000000..ac187c9e
--- /dev/null
+++ b/.config/fish/functions/tide/configure/choices/powerline/powerline_prompt_heads.fish
@@ -0,0 +1,40 @@
+function powerline_prompt_heads
+ _tide_title 'Prompt Heads'
+
+ _tide_option 1 Sharp
+ set -g fake_tide_left_prompt_suffix 
+ set -g fake_tide_right_prompt_prefix 
+ _tide_display_prompt
+
+ _tide_option 2 Blurred
+ set -g fake_tide_left_prompt_suffix '▓▒░'
+ set -g fake_tide_right_prompt_prefix '░▒▓'
+ _tide_display_prompt
+
+ _tide_option 3 Slanted
+ set -g fake_tide_left_prompt_suffix ''
+ set -g fake_tide_right_prompt_prefix ''
+ _tide_display_prompt
+
+ _tide_option 4 Round
+ set -g fake_tide_left_prompt_suffix ''
+ set -g fake_tide_right_prompt_prefix ''
+ _tide_display_prompt
+
+ _tide_menu
+ switch $_tide_selected_option
+ case 1
+ set -g fake_tide_left_prompt_suffix 
+ set -g fake_tide_right_prompt_prefix 
+ case 2
+ set -g fake_tide_left_prompt_suffix '▓▒░'
+ set -g fake_tide_right_prompt_prefix '░▒▓'
+ case 3
+ set -g fake_tide_left_prompt_suffix ''
+ set -g fake_tide_right_prompt_prefix ''
+ case 4
+ set -g fake_tide_left_prompt_suffix ''
+ set -g fake_tide_right_prompt_prefix ''
+ end
+ _next_choice powerline/powerline_prompt_tails
+end