@narumitw/pi-starship 0.64.3 → 0.65.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICES.md +128 -4
- package/README.md +7 -3
- package/dist/chunks/{chunk-D563JANR.ts → chunk-D2YWQMYT.ts} +3 -3
- package/dist/chunks/{chunk-A65IOGL6.ts → chunk-I22B7QPQ.ts} +6 -4
- package/dist/chunks/chunk-I22B7QPQ.ts.map +7 -0
- package/dist/chunks/{chunk-UIKPE4UC.ts → chunk-YK4S4RRM.ts} +812 -106
- package/dist/chunks/chunk-YK4S4RRM.ts.map +7 -0
- package/dist/chunks/{command-configuration-menu-ZN2VXU4L.ts → command-configuration-menu-BJYQXV2U.ts} +3 -3
- package/dist/chunks/{command-settings-chat-V6OA2FB2.ts → command-settings-chat-42OTC7NJ.ts} +4 -4
- package/dist/chunks/{commands-OF4U3XWQ.ts → commands-ZL36J5TX.ts} +6 -6
- package/dist/index.ts +6 -4
- package/dist/index.ts.map +3 -3
- package/package.json +1 -1
- package/skills/configure-pi-starship/references/configuration.md +29 -8
- package/skills/configure-pi-starship/references/modules.md +1 -0
- package/skills/configure-pi-starship/references/runtime-and-security.md +2 -1
- package/src/modules/activity.ts +5 -3
- package/src/pi-starship.ts +6 -2
- package/src/presets/catalog.ts +67 -4
- package/src/presets/catppuccin-tmux.ts +84 -0
- package/src/presets/dracula-tmux.ts +83 -0
- package/src/presets/gruvbox-rainbow.ts +61 -38
- package/src/presets/jetpack.ts +1 -1
- package/src/presets/lualine-bubbles.ts +72 -0
- package/src/presets/lualine-evil.ts +93 -0
- package/src/presets/lualine-slanted-gaps.ts +73 -0
- package/src/presets/oh-my-posh-atomic.ts +88 -0
- package/src/presets/pastel-powerline.ts +52 -31
- package/src/presets/powerlevel10k-lean.ts +86 -0
- package/src/presets/tokyo-night.ts +51 -31
- package/dist/chunks/chunk-A65IOGL6.ts.map +0 -7
- package/dist/chunks/chunk-UIKPE4UC.ts.map +0 -7
- /package/dist/chunks/{chunk-D563JANR.ts.map → chunk-D2YWQMYT.ts.map} +0 -0
- /package/dist/chunks/{command-configuration-menu-ZN2VXU4L.ts.map → command-configuration-menu-BJYQXV2U.ts.map} +0 -0
- /package/dist/chunks/{command-settings-chat-V6OA2FB2.ts.map → command-settings-chat-42OTC7NJ.ts.map} +0 -0
- /package/dist/chunks/{commands-OF4U3XWQ.ts.map → commands-ZL36J5TX.ts.map} +0 -0
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
assertConfigDocumentUnchanged,
|
|
6
6
|
loadStarshipConfig,
|
|
7
7
|
readConfigDocumentSnapshot
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-I22B7QPQ.ts";
|
|
9
9
|
|
|
10
10
|
// src/profile-store.ts
|
|
11
11
|
import { randomUUID } from "node:crypto";
|
|
@@ -685,72 +685,266 @@ lavender = "#b7bdf8"
|
|
|
685
685
|
crust = "#181926"
|
|
686
686
|
`;
|
|
687
687
|
|
|
688
|
+
// src/presets/catppuccin-tmux.ts
|
|
689
|
+
var CATPPUCCIN_TMUX_PRESET = `# Pi-native adaptation of Catppuccin Tmux.
|
|
690
|
+
# Source: https://github.com/catppuccin/tmux
|
|
691
|
+
# Original configuration: https://github.com/catppuccin/tmux/blob/main/catppuccin_options_tmux.conf
|
|
692
|
+
# Font: Nerd Font. See NOTICES.md for attribution and license terms.
|
|
693
|
+
# Use the rounded window style and colored status labels on one logical status row.
|
|
694
|
+
# Replace CPU, RAM, and uptime with model, thinking, context, and time.
|
|
695
|
+
|
|
696
|
+
format = "$brand$directory$git_branch$git_status\${fill}$model$thinking$activity$context$time(\\n$extension_status)"
|
|
697
|
+
palette = "catppuccin_mocha"
|
|
698
|
+
|
|
699
|
+
[palettes.catppuccin_mocha]
|
|
700
|
+
base = "#1e1e2e"
|
|
701
|
+
surface = "#313244"
|
|
702
|
+
text = "#cdd6f4"
|
|
703
|
+
mauve = "#cba6f7"
|
|
704
|
+
blue = "#89b4fa"
|
|
705
|
+
green = "#a6e3a1"
|
|
706
|
+
peach = "#fab387"
|
|
707
|
+
yellow = "#f9e2af"
|
|
708
|
+
muted = "#a6adc8"
|
|
709
|
+
|
|
710
|
+
[brand]
|
|
711
|
+
format = "([\uE0B6](fg:mauve)[ $symbol ]($style)[\uE0B4](fg:mauve) )"
|
|
712
|
+
style = "bold fg:base bg:mauve"
|
|
713
|
+
symbol = "\u03C0"
|
|
714
|
+
|
|
715
|
+
[directory]
|
|
716
|
+
format = "([\uE0B6](blue)[ dir ](fg:base bg:blue)[ $path ]($style)[\uE0B4](surface) )"
|
|
717
|
+
style = "fg:text bg:surface"
|
|
718
|
+
symbol = "\uF07B"
|
|
719
|
+
truncation_length = 2
|
|
720
|
+
truncation_symbol = "\u2026/"
|
|
721
|
+
|
|
722
|
+
[git_branch]
|
|
723
|
+
format = "([\uE0B6](green)[ git ](fg:base bg:green)[ $branch ]($style)[\uE0B4](surface) )"
|
|
724
|
+
style = "fg:text bg:surface"
|
|
725
|
+
symbol = "\uF418"
|
|
726
|
+
truncation_length = 18
|
|
727
|
+
|
|
728
|
+
[git_status]
|
|
729
|
+
format = "([ $all_status$ahead_behind ]($style))"
|
|
730
|
+
style = "fg:peach"
|
|
731
|
+
|
|
732
|
+
[activity]
|
|
733
|
+
format = "[$text ]($style)"
|
|
734
|
+
style = "fg:peach"
|
|
735
|
+
symbol = "\u25CF"
|
|
736
|
+
|
|
737
|
+
[model]
|
|
738
|
+
format = "([\uE0B6](mauve)[ ai ](fg:base bg:mauve)[ $model ]($style)[\uE0B4](surface) )"
|
|
739
|
+
style = "fg:text bg:surface"
|
|
740
|
+
symbol = "\u25C6"
|
|
741
|
+
shorten_model = true
|
|
742
|
+
truncation_length = 22
|
|
743
|
+
truncation_direction = "middle"
|
|
744
|
+
|
|
745
|
+
[thinking]
|
|
746
|
+
format = "([\uE0B6](yellow)[ think ](fg:base bg:yellow)[ $level ]($style)[\uE0B4](surface) )"
|
|
747
|
+
style = "fg:text bg:surface"
|
|
748
|
+
|
|
749
|
+
[context]
|
|
750
|
+
format = "([\uE0B6](blue)[ ctx ](fg:base bg:blue)[ $percentage ]($style)[\uE0B4](surface) )"
|
|
751
|
+
|
|
752
|
+
[[context.display]]
|
|
753
|
+
threshold = 0
|
|
754
|
+
style = "fg:text bg:surface"
|
|
755
|
+
hidden = false
|
|
756
|
+
|
|
757
|
+
[time]
|
|
758
|
+
format = "([\uE0B6](peach)[ time ](fg:base bg:peach)[ $time ]($style)[\uE0B4](surface))"
|
|
759
|
+
style = "fg:text bg:surface"
|
|
760
|
+
time_format = "%H:%M"
|
|
761
|
+
|
|
762
|
+
[fill]
|
|
763
|
+
style = "fg:muted"
|
|
764
|
+
symbol = " "
|
|
765
|
+
|
|
766
|
+
[extension_status]
|
|
767
|
+
format = "([$statuses]($style))"
|
|
768
|
+
style = "fg:muted"
|
|
769
|
+
separator = " \xB7 "
|
|
770
|
+
max_statuses = 2
|
|
771
|
+
icons = { fallback = "" }
|
|
772
|
+
`;
|
|
773
|
+
|
|
774
|
+
// src/presets/dracula-tmux.ts
|
|
775
|
+
var DRACULA_TMUX_PRESET = `# Pi-native adaptation of Dracula Tmux.
|
|
776
|
+
# Source: https://draculatheme.com/tmux
|
|
777
|
+
# Original configuration: https://github.com/dracula/tmux/blob/master/scripts/dracula.sh
|
|
778
|
+
# Font: Standard Unicode. See NOTICES.md for attribution and license terms.
|
|
779
|
+
# Use Dracula's non-Powerline rectangular treatment. Replace system and weather plugins with local Pi activity, model, thinking, and context.
|
|
780
|
+
|
|
781
|
+
format = "[$brand$directory$git_branch$git_status\${fill}$activity$model$thinking$context$time](bg:bg)(\\n$extension_status)"
|
|
782
|
+
palette = "dracula"
|
|
783
|
+
|
|
784
|
+
[palettes.dracula]
|
|
785
|
+
bg = "#282a36"
|
|
786
|
+
gray = "#44475a"
|
|
787
|
+
white = "#f8f8f2"
|
|
788
|
+
purple = "#bd93f9"
|
|
789
|
+
cyan = "#8be9fd"
|
|
790
|
+
green = "#50fa7b"
|
|
791
|
+
pink = "#ff79c6"
|
|
792
|
+
yellow = "#f1fa8c"
|
|
793
|
+
muted = "#6272a4"
|
|
794
|
+
|
|
795
|
+
[brand]
|
|
796
|
+
format = "[ $symbol ]($style)"
|
|
797
|
+
style = "bold fg:bg bg:purple"
|
|
798
|
+
symbol = "\u03C0"
|
|
799
|
+
|
|
800
|
+
[directory]
|
|
801
|
+
format = "[ $path ]($style)"
|
|
802
|
+
style = "fg:white bg:gray"
|
|
803
|
+
symbol = "dir"
|
|
804
|
+
truncation_length = 2
|
|
805
|
+
truncation_symbol = "\u2026/"
|
|
806
|
+
|
|
807
|
+
[git_branch]
|
|
808
|
+
format = "[ $symbol:$branch ]($style)"
|
|
809
|
+
style = "fg:pink bg:gray"
|
|
810
|
+
symbol = "git"
|
|
811
|
+
truncation_length = 18
|
|
812
|
+
|
|
813
|
+
[git_status]
|
|
814
|
+
format = "([ $all_status$ahead_behind ]($style))"
|
|
815
|
+
style = "fg:yellow bg:gray"
|
|
816
|
+
|
|
817
|
+
[activity]
|
|
818
|
+
format = "[ $state ]($style)"
|
|
819
|
+
style = "bold fg:bg bg:green"
|
|
820
|
+
|
|
821
|
+
[model]
|
|
822
|
+
format = "[ $model ]($style)"
|
|
823
|
+
style = "bold fg:bg bg:cyan"
|
|
824
|
+
symbol = "\u25C6"
|
|
825
|
+
shorten_model = true
|
|
826
|
+
truncation_length = 22
|
|
827
|
+
truncation_direction = "middle"
|
|
828
|
+
|
|
829
|
+
[thinking]
|
|
830
|
+
format = "[ $level ]($style)"
|
|
831
|
+
style = "fg:bg bg:purple"
|
|
832
|
+
|
|
833
|
+
[context]
|
|
834
|
+
format = "[ ctx $percentage ]($style)"
|
|
835
|
+
|
|
836
|
+
[[context.display]]
|
|
837
|
+
threshold = 0
|
|
838
|
+
style = "bold fg:bg bg:pink"
|
|
839
|
+
hidden = false
|
|
840
|
+
|
|
841
|
+
[time]
|
|
842
|
+
format = "[ $time ]($style)"
|
|
843
|
+
style = "fg:white bg:gray"
|
|
844
|
+
time_format = "%H:%M"
|
|
845
|
+
|
|
846
|
+
[fill]
|
|
847
|
+
format = "[$symbol]($style)"
|
|
848
|
+
style = "bg:bg"
|
|
849
|
+
symbol = " "
|
|
850
|
+
|
|
851
|
+
[extension_status]
|
|
852
|
+
format = "([$statuses]($style))"
|
|
853
|
+
style = "fg:muted"
|
|
854
|
+
separator = " \xB7 "
|
|
855
|
+
max_statuses = 2
|
|
856
|
+
icons = { fallback = "" }
|
|
857
|
+
`;
|
|
858
|
+
|
|
688
859
|
// src/presets/gruvbox-rainbow.ts
|
|
689
|
-
var GRUVBOX_RAINBOW_PRESET = `# Pi-native adaptation of
|
|
690
|
-
|
|
860
|
+
var GRUVBOX_RAINBOW_PRESET = `# Pi-native adaptation of Gruvbox Rainbow.
|
|
861
|
+
# Source: https://starship.rs/presets/gruvbox-rainbow
|
|
862
|
+
# Original configuration: https://starship.rs/presets/toml/gruvbox-rainbow.toml
|
|
863
|
+
# Font: Nerd Font. See NOTICES.md for attribution and license terms.
|
|
864
|
+
# Keep Gruvbox color order. Move activity, tokens, context, and time to a second footer row instead of a shell input line.
|
|
865
|
+
|
|
866
|
+
format = "[\uE0B6](orange)$brand$directory([\uE0B0](fg:prev_bg bg:aqua)$git_branch$git_status)$model$thinking[\uE0B4](fg:prev_bg)\\n$activity\${fill}$tokens$context$time(\\n$extension_status)"
|
|
691
867
|
palette = "gruvbox_dark"
|
|
692
868
|
|
|
693
869
|
[palettes.gruvbox_dark]
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
870
|
+
fg = "#fbf1c7"
|
|
871
|
+
bg = "#282828"
|
|
872
|
+
bg1 = "#3c3836"
|
|
873
|
+
bg3 = "#665c54"
|
|
874
|
+
orange = "#d65d0e"
|
|
875
|
+
yellow = "#d79921"
|
|
876
|
+
aqua = "#689d6a"
|
|
877
|
+
blue = "#458588"
|
|
878
|
+
green = "#b8bb26"
|
|
879
|
+
red = "#fb4934"
|
|
880
|
+
muted = "#a89984"
|
|
704
881
|
|
|
705
882
|
[brand]
|
|
706
883
|
format = "[ $symbol ]($style)"
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
[model]
|
|
711
|
-
format = "[$model ]($style)"
|
|
712
|
-
symbol = ""
|
|
713
|
-
style = "fg:color_fg0 bg:color_orange bold"
|
|
884
|
+
style = "bold fg:fg bg:orange"
|
|
885
|
+
symbol = "\u03C0"
|
|
714
886
|
|
|
715
887
|
[directory]
|
|
716
|
-
format = "[ $path ]($style)"
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
truncation_length =
|
|
888
|
+
format = "([\uE0B0](fg:prev_bg bg:yellow)[ $path ]($style))"
|
|
889
|
+
style = "bold fg:bg bg:yellow"
|
|
890
|
+
symbol = "\uF07B"
|
|
891
|
+
truncation_length = 2
|
|
720
892
|
truncation_symbol = "\u2026/"
|
|
721
893
|
|
|
722
894
|
[git_branch]
|
|
723
|
-
format = "[ $symbol $branch ]($style)"
|
|
895
|
+
format = "([ $symbol $branch ]($style))"
|
|
896
|
+
style = "fg:bg bg:aqua"
|
|
724
897
|
symbol = "\uF418"
|
|
725
|
-
|
|
898
|
+
truncation_length = 18
|
|
726
899
|
|
|
727
900
|
[git_status]
|
|
728
|
-
format = "[$all_status$ahead_behind ]($style)"
|
|
729
|
-
style = "fg:
|
|
901
|
+
format = "([ $all_status$ahead_behind ]($style))"
|
|
902
|
+
style = "fg:bg bg:aqua"
|
|
903
|
+
|
|
904
|
+
[model]
|
|
905
|
+
format = "([\uE0B0](fg:prev_bg bg:blue)[ $model ]($style))"
|
|
906
|
+
style = "bold fg:fg bg:blue"
|
|
907
|
+
symbol = "\u25C6"
|
|
908
|
+
shorten_model = true
|
|
909
|
+
truncation_length = 22
|
|
910
|
+
truncation_direction = "middle"
|
|
730
911
|
|
|
731
912
|
[thinking]
|
|
732
|
-
format = "[
|
|
733
|
-
|
|
734
|
-
style = "fg:color_fg0 bg:color_blue bold"
|
|
913
|
+
format = "([\uE0B0](fg:prev_bg bg:bg3)[ $level ]($style))"
|
|
914
|
+
style = "fg:fg bg:bg3"
|
|
735
915
|
|
|
736
916
|
[activity]
|
|
737
917
|
format = "[ $text ]($style)"
|
|
738
|
-
|
|
739
|
-
|
|
918
|
+
style = "fg:yellow"
|
|
919
|
+
symbol = "\u25CF"
|
|
920
|
+
|
|
921
|
+
[tokens]
|
|
922
|
+
format = "[\u2191$input \u2193$output ]($style)"
|
|
923
|
+
style = "fg:aqua"
|
|
740
924
|
|
|
741
925
|
[context]
|
|
742
|
-
format = "[ $
|
|
743
|
-
symbol = "\u{F035B}"
|
|
926
|
+
format = "[ctx $percentage ]($style)"
|
|
744
927
|
|
|
745
928
|
[[context.display]]
|
|
746
929
|
threshold = 0
|
|
747
|
-
style = "
|
|
930
|
+
style = "fg:green"
|
|
748
931
|
hidden = false
|
|
749
932
|
|
|
750
933
|
[time]
|
|
751
|
-
format = "[
|
|
752
|
-
|
|
753
|
-
|
|
934
|
+
format = "[$time ]($style)"
|
|
935
|
+
style = "fg:muted"
|
|
936
|
+
time_format = "%H:%M"
|
|
937
|
+
|
|
938
|
+
[fill]
|
|
939
|
+
style = "fg:muted"
|
|
940
|
+
symbol = " "
|
|
941
|
+
|
|
942
|
+
[extension_status]
|
|
943
|
+
format = "([$statuses]($style))"
|
|
944
|
+
style = "fg:muted"
|
|
945
|
+
separator = " \xB7 "
|
|
946
|
+
max_statuses = 2
|
|
947
|
+
icons = { fallback = "" }
|
|
754
948
|
`;
|
|
755
949
|
|
|
756
950
|
// src/presets/jetpack.ts
|
|
@@ -792,7 +986,7 @@ truncation_length = 11
|
|
|
792
986
|
truncation_symbol = "\u22EF"
|
|
793
987
|
|
|
794
988
|
[git_state]
|
|
795
|
-
format = "([\u23AA$state $progress_current/$progress_total\u23A5]($style))"
|
|
989
|
+
format = "([\u23AA$state( $progress_current/$progress_total)\u23A5]($style))"
|
|
796
990
|
symbol = ""
|
|
797
991
|
style = "italic bright-purple"
|
|
798
992
|
|
|
@@ -806,6 +1000,250 @@ symbol = ""
|
|
|
806
1000
|
style = "italic dimmed white"
|
|
807
1001
|
`;
|
|
808
1002
|
|
|
1003
|
+
// src/presets/lualine-bubbles.ts
|
|
1004
|
+
var LUALINE_BUBBLES_PRESET = `# Pi-native adaptation of Lualine Bubbles.
|
|
1005
|
+
# Source: https://github.com/nvim-lualine/lualine.nvim/blob/master/examples/bubbles.lua
|
|
1006
|
+
# Original configuration: https://raw.githubusercontent.com/nvim-lualine/lualine.nvim/master/examples/bubbles.lua
|
|
1007
|
+
# Font: Nerd Font. See NOTICES.md for attribution and license terms.
|
|
1008
|
+
# Map editor mode to Pi, filename to workspace, filetype to model, and cursor progress to context usage. Pi has no Neovim mode.
|
|
1009
|
+
|
|
1010
|
+
format = "$brand$directory$git_branch$git_status[\uE0B4](grey)\${fill}$model$thinking$context(\\n$extension_status)"
|
|
1011
|
+
palette = "bubbles"
|
|
1012
|
+
|
|
1013
|
+
[palettes.bubbles]
|
|
1014
|
+
violet = "#d183e8"
|
|
1015
|
+
blue = "#80a0ff"
|
|
1016
|
+
cyan = "#79dac8"
|
|
1017
|
+
black = "#080808"
|
|
1018
|
+
white = "#c6c6c6"
|
|
1019
|
+
red = "#ff5189"
|
|
1020
|
+
grey = "#303030"
|
|
1021
|
+
muted = "#a0a0a0"
|
|
1022
|
+
|
|
1023
|
+
[brand]
|
|
1024
|
+
format = "[\uE0B6](violet)[ $symbol ]($style)[\uE0B4](fg:violet bg:grey)"
|
|
1025
|
+
style = "bold fg:black bg:violet"
|
|
1026
|
+
symbol = "\u03C0"
|
|
1027
|
+
|
|
1028
|
+
[directory]
|
|
1029
|
+
format = "[ $path ]($style)"
|
|
1030
|
+
style = "fg:white bg:grey"
|
|
1031
|
+
symbol = "\uF07B"
|
|
1032
|
+
truncation_length = 2
|
|
1033
|
+
truncation_symbol = "\u2026/"
|
|
1034
|
+
|
|
1035
|
+
[git_branch]
|
|
1036
|
+
format = "[ $symbol $branch ]($style)"
|
|
1037
|
+
style = "fg:white bg:grey"
|
|
1038
|
+
symbol = "\uF418"
|
|
1039
|
+
truncation_length = 18
|
|
1040
|
+
|
|
1041
|
+
[git_status]
|
|
1042
|
+
format = "([ $all_status$ahead_behind ]($style))"
|
|
1043
|
+
style = "fg:red bg:grey"
|
|
1044
|
+
|
|
1045
|
+
[model]
|
|
1046
|
+
format = "([\uE0B6](fg:grey)[ $model ]($style)[\uE0B4](fg:grey) )"
|
|
1047
|
+
style = "fg:white bg:grey"
|
|
1048
|
+
symbol = "\u25C6"
|
|
1049
|
+
shorten_model = true
|
|
1050
|
+
truncation_length = 22
|
|
1051
|
+
truncation_direction = "middle"
|
|
1052
|
+
|
|
1053
|
+
[thinking]
|
|
1054
|
+
format = "([\uE0B6](fg:blue)[ $level ]($style)[\uE0B4](fg:blue) )"
|
|
1055
|
+
style = "fg:black bg:blue"
|
|
1056
|
+
|
|
1057
|
+
[context]
|
|
1058
|
+
format = "([\uE0B6](fg:cyan)[ ctx $percentage ]($style)[\uE0B4](fg:cyan) )"
|
|
1059
|
+
|
|
1060
|
+
[[context.display]]
|
|
1061
|
+
threshold = 0
|
|
1062
|
+
style = "bold fg:black bg:cyan"
|
|
1063
|
+
hidden = false
|
|
1064
|
+
|
|
1065
|
+
[fill]
|
|
1066
|
+
style = "fg:muted"
|
|
1067
|
+
symbol = " "
|
|
1068
|
+
|
|
1069
|
+
[extension_status]
|
|
1070
|
+
format = "([$statuses]($style))"
|
|
1071
|
+
style = "fg:muted"
|
|
1072
|
+
separator = " \xB7 "
|
|
1073
|
+
max_statuses = 2
|
|
1074
|
+
icons = { fallback = "" }
|
|
1075
|
+
`;
|
|
1076
|
+
|
|
1077
|
+
// src/presets/lualine-evil.ts
|
|
1078
|
+
var LUALINE_EVIL_PRESET = `# Pi-native adaptation of Lualine Eviline.
|
|
1079
|
+
# Source: https://github.com/nvim-lualine/lualine.nvim/blob/master/examples/evil_lualine.lua
|
|
1080
|
+
# Original configuration: https://raw.githubusercontent.com/nvim-lualine/lualine.nvim/master/examples/evil_lualine.lua
|
|
1081
|
+
# Font: Standard Unicode. See NOTICES.md for attribution and license terms.
|
|
1082
|
+
# Keep the flat layout and edge bars. Use thinking-level styles instead of Vim mode colors, and Pi activity instead of LSP state.
|
|
1083
|
+
|
|
1084
|
+
format = "[[\u258A ](fg:blue bg:bg)$brand$model$thinking$activity\${fill}$directory$git_branch$git_status$context[ \u258A](fg:blue bg:bg)](fg:fg bg:bg)(\\n$extension_status)"
|
|
1085
|
+
palette = "evil"
|
|
1086
|
+
|
|
1087
|
+
[palettes.evil]
|
|
1088
|
+
bg = "#202328"
|
|
1089
|
+
fg = "#bbc2cf"
|
|
1090
|
+
yellow = "#ECBE7B"
|
|
1091
|
+
green = "#98be65"
|
|
1092
|
+
orange = "#FF8800"
|
|
1093
|
+
violet = "#a9a1e1"
|
|
1094
|
+
magenta = "#c678dd"
|
|
1095
|
+
blue = "#51afef"
|
|
1096
|
+
red = "#ec5f67"
|
|
1097
|
+
muted = "#7f8795"
|
|
1098
|
+
|
|
1099
|
+
[brand]
|
|
1100
|
+
format = "[$symbol ]($style)"
|
|
1101
|
+
style = "bold fg:red bg:bg"
|
|
1102
|
+
symbol = "\u03C0"
|
|
1103
|
+
|
|
1104
|
+
[model]
|
|
1105
|
+
format = "[$model ]($style)"
|
|
1106
|
+
style = "bold fg:magenta bg:bg"
|
|
1107
|
+
symbol = "\u25C6"
|
|
1108
|
+
shorten_model = true
|
|
1109
|
+
truncation_length = 22
|
|
1110
|
+
truncation_direction = "middle"
|
|
1111
|
+
|
|
1112
|
+
[thinking]
|
|
1113
|
+
format = "[$level ]($style)"
|
|
1114
|
+
style = "fg:green bg:bg"
|
|
1115
|
+
style_high = "fg:yellow bg:bg"
|
|
1116
|
+
style_xhigh = "fg:orange bg:bg"
|
|
1117
|
+
style_max = "fg:red bg:bg"
|
|
1118
|
+
|
|
1119
|
+
[activity]
|
|
1120
|
+
format = "[$text ]($style)"
|
|
1121
|
+
style = "fg:yellow bg:bg"
|
|
1122
|
+
symbol = "\u25CF"
|
|
1123
|
+
|
|
1124
|
+
[directory]
|
|
1125
|
+
format = "[$path ]($style)"
|
|
1126
|
+
style = "fg:fg bg:bg"
|
|
1127
|
+
symbol = "dir"
|
|
1128
|
+
truncation_length = 2
|
|
1129
|
+
truncation_symbol = "\u2026/"
|
|
1130
|
+
|
|
1131
|
+
[git_branch]
|
|
1132
|
+
format = "[$symbol:$branch ]($style)"
|
|
1133
|
+
style = "fg:violet bg:bg"
|
|
1134
|
+
symbol = "git"
|
|
1135
|
+
truncation_length = 18
|
|
1136
|
+
|
|
1137
|
+
[git_status]
|
|
1138
|
+
format = "([ $all_status$ahead_behind ]($style))"
|
|
1139
|
+
style = "fg:orange bg:bg"
|
|
1140
|
+
|
|
1141
|
+
[context]
|
|
1142
|
+
format = "[ctx $percentage]($style)"
|
|
1143
|
+
|
|
1144
|
+
[[context.display]]
|
|
1145
|
+
threshold = 0
|
|
1146
|
+
style = "fg:green bg:bg"
|
|
1147
|
+
hidden = false
|
|
1148
|
+
|
|
1149
|
+
[[context.display]]
|
|
1150
|
+
threshold = 60
|
|
1151
|
+
style = "fg:yellow bg:bg"
|
|
1152
|
+
hidden = false
|
|
1153
|
+
|
|
1154
|
+
[[context.display]]
|
|
1155
|
+
threshold = 80
|
|
1156
|
+
style = "bold fg:red bg:bg"
|
|
1157
|
+
hidden = false
|
|
1158
|
+
|
|
1159
|
+
[fill]
|
|
1160
|
+
format = "[$symbol]($style)"
|
|
1161
|
+
style = "bg:bg"
|
|
1162
|
+
symbol = " "
|
|
1163
|
+
|
|
1164
|
+
[extension_status]
|
|
1165
|
+
format = "([$statuses]($style))"
|
|
1166
|
+
style = "fg:muted"
|
|
1167
|
+
separator = " \xB7 "
|
|
1168
|
+
max_statuses = 2
|
|
1169
|
+
icons = { fallback = "" }
|
|
1170
|
+
`;
|
|
1171
|
+
|
|
1172
|
+
// src/presets/lualine-slanted-gaps.ts
|
|
1173
|
+
var LUALINE_SLANTED_GAPS_PRESET = `# Pi-native adaptation of Lualine Slanted Gaps.
|
|
1174
|
+
# Source: https://github.com/nvim-lualine/lualine.nvim/blob/master/examples/slanted-gaps.lua
|
|
1175
|
+
# Original configuration: https://raw.githubusercontent.com/nvim-lualine/lualine.nvim/master/examples/slanted-gaps.lua
|
|
1176
|
+
# Font: Nerd Font. See NOTICES.md for attribution and license terms.
|
|
1177
|
+
# Keep the light surface and opposing slopes. Replace editor mode, filename, and cursor location with Pi, workspace, model, and context.
|
|
1178
|
+
|
|
1179
|
+
format = "[$brand$directory$git_branch$git_status\${fill}$model$thinking$context](fg:black bg:white)(\\n$extension_status)"
|
|
1180
|
+
palette = "slanted_gaps"
|
|
1181
|
+
|
|
1182
|
+
[palettes.slanted_gaps]
|
|
1183
|
+
red = "#ca1243"
|
|
1184
|
+
grey = "#a0a1a7"
|
|
1185
|
+
black = "#383a42"
|
|
1186
|
+
white = "#f3f3f3"
|
|
1187
|
+
light_green = "#83a598"
|
|
1188
|
+
orange = "#fe8019"
|
|
1189
|
+
green = "#8ec07c"
|
|
1190
|
+
muted = "#626574"
|
|
1191
|
+
|
|
1192
|
+
[brand]
|
|
1193
|
+
format = "[ $symbol ]($style)[\uE0B8](fg:black bg:white) "
|
|
1194
|
+
style = "bold fg:white bg:black"
|
|
1195
|
+
symbol = "\u03C0"
|
|
1196
|
+
|
|
1197
|
+
[directory]
|
|
1198
|
+
format = "([ $path ]($style)[\uE0B8](fg:grey bg:white) )"
|
|
1199
|
+
style = "fg:black bg:grey"
|
|
1200
|
+
symbol = "\uF07B"
|
|
1201
|
+
truncation_length = 2
|
|
1202
|
+
truncation_symbol = "\u2026/"
|
|
1203
|
+
|
|
1204
|
+
[git_branch]
|
|
1205
|
+
format = "([ $symbol $branch ]($style)[\uE0B8](fg:light_green bg:white) )"
|
|
1206
|
+
style = "fg:black bg:light_green"
|
|
1207
|
+
symbol = "\uF418"
|
|
1208
|
+
truncation_length = 18
|
|
1209
|
+
|
|
1210
|
+
[git_status]
|
|
1211
|
+
format = "([ $all_status$ahead_behind ]($style)[\uE0B8](fg:red bg:white) )"
|
|
1212
|
+
style = "fg:white bg:red"
|
|
1213
|
+
|
|
1214
|
+
[model]
|
|
1215
|
+
format = "([\uE0BA](fg:black bg:white)[ $model ]($style) )"
|
|
1216
|
+
style = "fg:white bg:black"
|
|
1217
|
+
symbol = "\u25C6"
|
|
1218
|
+
shorten_model = true
|
|
1219
|
+
truncation_length = 22
|
|
1220
|
+
truncation_direction = "middle"
|
|
1221
|
+
|
|
1222
|
+
[thinking]
|
|
1223
|
+
format = "([\uE0BA](fg:orange bg:white)[ $level ]($style) )"
|
|
1224
|
+
style = "fg:black bg:orange"
|
|
1225
|
+
|
|
1226
|
+
[context]
|
|
1227
|
+
format = "([\uE0BA](fg:black bg:white)[ ctx $percentage ]($style))"
|
|
1228
|
+
|
|
1229
|
+
[[context.display]]
|
|
1230
|
+
threshold = 0
|
|
1231
|
+
style = "bold fg:white bg:black"
|
|
1232
|
+
hidden = false
|
|
1233
|
+
|
|
1234
|
+
[fill]
|
|
1235
|
+
format = "[$symbol]($style)"
|
|
1236
|
+
style = "bg:white"
|
|
1237
|
+
symbol = " "
|
|
1238
|
+
|
|
1239
|
+
[extension_status]
|
|
1240
|
+
format = "([$statuses]($style))"
|
|
1241
|
+
style = "fg:muted"
|
|
1242
|
+
separator = " \xB7 "
|
|
1243
|
+
max_statuses = 2
|
|
1244
|
+
icons = { fallback = "" }
|
|
1245
|
+
`;
|
|
1246
|
+
|
|
809
1247
|
// src/presets/minimal.ts
|
|
810
1248
|
var MINIMAL_PRESET = `# A compact, font-safe Pi footer.
|
|
811
1249
|
format = "$model$directory$git_branch$activity"
|
|
@@ -1016,59 +1454,170 @@ symbol = ""
|
|
|
1016
1454
|
style = "bold yellow"
|
|
1017
1455
|
`;
|
|
1018
1456
|
|
|
1019
|
-
// src/presets/
|
|
1020
|
-
var
|
|
1021
|
-
|
|
1457
|
+
// src/presets/oh-my-posh-atomic.ts
|
|
1458
|
+
var OH_MY_POSH_ATOMIC_PRESET = `# Pi-native adaptation of Oh My Posh Atomic.
|
|
1459
|
+
# Source: https://ohmyposh.dev/docs/themes#atomic
|
|
1460
|
+
# Original configuration: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/atomic.omp.json
|
|
1461
|
+
# Font: Nerd Font. See NOTICES.md for attribution and license terms.
|
|
1462
|
+
# Replace shell and execution time with Pi and real activity; use model, thinking, and context instead of runtime/cloud/battery probes. Git background is fixed, not template-driven.
|
|
1463
|
+
|
|
1464
|
+
format = "[\u256D\u2500\uE0B6](blue)$brand$directory([\uE0B0](fg:prev_bg bg:gold)$git_branch$git_status)$activity[\uE0B4](fg:prev_bg)\${fill}$context$time\\n[\u2570\u2500\u276F ](teal)$model$thinking\${fill}$tokens(\\n$extension_status)"
|
|
1465
|
+
palette = "atomic"
|
|
1466
|
+
|
|
1467
|
+
[palettes.atomic]
|
|
1468
|
+
blue = "#0077c2"
|
|
1469
|
+
white = "#ffffff"
|
|
1470
|
+
orange = "#FF9248"
|
|
1471
|
+
ink = "#2d3436"
|
|
1472
|
+
gold = "#FFFB38"
|
|
1473
|
+
git_ink = "#011627"
|
|
1474
|
+
violet = "#83769c"
|
|
1475
|
+
cyan = "#40c4ff"
|
|
1476
|
+
teal = "#21c7c7"
|
|
1477
|
+
muted = "#b2bec3"
|
|
1022
1478
|
|
|
1023
1479
|
[brand]
|
|
1024
1480
|
format = "[ $symbol ]($style)"
|
|
1025
|
-
|
|
1026
|
-
|
|
1481
|
+
style = "bold fg:white bg:blue"
|
|
1482
|
+
symbol = "\u03C0"
|
|
1483
|
+
|
|
1484
|
+
[directory]
|
|
1485
|
+
format = "([\uE0B0](fg:prev_bg bg:orange)[ $symbol $path ]($style))"
|
|
1486
|
+
style = "fg:ink bg:orange"
|
|
1487
|
+
symbol = "\uF07B"
|
|
1488
|
+
truncation_length = 2
|
|
1489
|
+
truncation_symbol = "\u2026/"
|
|
1490
|
+
|
|
1491
|
+
[git_branch]
|
|
1492
|
+
format = "([ $symbol $branch ]($style))"
|
|
1493
|
+
style = "fg:git_ink bg:gold"
|
|
1494
|
+
symbol = "\uF418"
|
|
1495
|
+
truncation_length = 18
|
|
1496
|
+
|
|
1497
|
+
[git_status]
|
|
1498
|
+
format = "([ $all_status$ahead_behind ]($style))"
|
|
1499
|
+
style = "fg:git_ink bg:gold"
|
|
1500
|
+
|
|
1501
|
+
[activity]
|
|
1502
|
+
format = "([\uE0B0](fg:prev_bg bg:violet)[ $text ]($style))"
|
|
1503
|
+
style = "fg:white bg:violet"
|
|
1504
|
+
symbol = "\u25CF"
|
|
1505
|
+
|
|
1506
|
+
[context]
|
|
1507
|
+
format = "([\uE0B6](fg:cyan)[ ctx $percentage ]($style)[\uE0B4](fg:cyan) )"
|
|
1508
|
+
|
|
1509
|
+
[[context.display]]
|
|
1510
|
+
threshold = 0
|
|
1511
|
+
style = "bold fg:ink bg:cyan"
|
|
1512
|
+
hidden = false
|
|
1513
|
+
|
|
1514
|
+
[time]
|
|
1515
|
+
format = "([\uE0B6](fg:blue)[ $time ]($style)[\uE0B4](fg:blue) )"
|
|
1516
|
+
style = "fg:white bg:blue"
|
|
1517
|
+
time_format = "%H:%M"
|
|
1027
1518
|
|
|
1028
1519
|
[model]
|
|
1029
|
-
format = "[$model ]($style)"
|
|
1030
|
-
|
|
1031
|
-
|
|
1520
|
+
format = "([\uE0B6](fg:blue)[ $model ]($style)[\uE0B4](fg:blue) )"
|
|
1521
|
+
style = "fg:white bg:blue"
|
|
1522
|
+
symbol = "\u25C6"
|
|
1523
|
+
shorten_model = true
|
|
1524
|
+
truncation_length = 22
|
|
1525
|
+
truncation_direction = "middle"
|
|
1526
|
+
|
|
1527
|
+
[thinking]
|
|
1528
|
+
format = "([\uE0B6](fg:violet)[ $level ]($style)[\uE0B4](fg:violet) )"
|
|
1529
|
+
style = "fg:white bg:violet"
|
|
1530
|
+
|
|
1531
|
+
[tokens]
|
|
1532
|
+
format = "[\u2191$input \u2193$output]($style)"
|
|
1533
|
+
style = "fg:muted"
|
|
1534
|
+
|
|
1535
|
+
[fill]
|
|
1536
|
+
style = "fg:muted"
|
|
1537
|
+
symbol = " "
|
|
1538
|
+
|
|
1539
|
+
[extension_status]
|
|
1540
|
+
format = "([$statuses]($style))"
|
|
1541
|
+
style = "fg:muted"
|
|
1542
|
+
separator = " \xB7 "
|
|
1543
|
+
max_statuses = 2
|
|
1544
|
+
icons = { fallback = "" }
|
|
1545
|
+
`;
|
|
1546
|
+
|
|
1547
|
+
// src/presets/pastel-powerline.ts
|
|
1548
|
+
var PASTEL_POWERLINE_PRESET = `# Pi-native adaptation of Pastel Powerline.
|
|
1549
|
+
# Source: https://starship.rs/presets/pastel-powerline
|
|
1550
|
+
# Original configuration: https://starship.rs/presets/toml/pastel-powerline.toml
|
|
1551
|
+
# Font: Nerd Font. See NOTICES.md for attribution and license terms.
|
|
1552
|
+
# Replace username, languages, and Docker with Pi, model, thinking, and context. Retain the six-color sequence.
|
|
1553
|
+
|
|
1554
|
+
format = "[\uE0B6](magenta)$brand$directory([\uE0B0](fg:prev_bg bg:peach)$git_branch$git_status)$model$thinking([\uE0B0](fg:prev_bg bg:navy)$context$time)[\uE0B0](fg:prev_bg)(\\n$extension_status)"
|
|
1555
|
+
palette = "pastel_powerline"
|
|
1556
|
+
|
|
1557
|
+
[palettes.pastel_powerline]
|
|
1558
|
+
ink = "#202331"
|
|
1559
|
+
white = "#ffffff"
|
|
1560
|
+
magenta = "#9A348E"
|
|
1561
|
+
coral = "#DA627D"
|
|
1562
|
+
peach = "#FCA17D"
|
|
1563
|
+
blue = "#86BBD8"
|
|
1564
|
+
teal = "#06969A"
|
|
1565
|
+
navy = "#33658A"
|
|
1566
|
+
muted = "#a0a9cb"
|
|
1567
|
+
|
|
1568
|
+
[brand]
|
|
1569
|
+
format = "[ $symbol ]($style)"
|
|
1570
|
+
style = "bold fg:white bg:magenta"
|
|
1571
|
+
symbol = "\u03C0"
|
|
1032
1572
|
|
|
1033
1573
|
[directory]
|
|
1034
|
-
format = "[ $path ]($style)"
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
truncation_length =
|
|
1574
|
+
format = "([\uE0B0](fg:prev_bg bg:coral)[ $symbol $path ]($style))"
|
|
1575
|
+
style = "bold fg:ink bg:coral"
|
|
1576
|
+
symbol = "\uF07B"
|
|
1577
|
+
truncation_length = 2
|
|
1038
1578
|
truncation_symbol = "\u2026/"
|
|
1039
1579
|
|
|
1040
1580
|
[git_branch]
|
|
1041
|
-
format = "[ $symbol $branch ]($style)"
|
|
1581
|
+
format = "([ $symbol $branch ]($style))"
|
|
1582
|
+
style = "fg:ink bg:peach"
|
|
1042
1583
|
symbol = "\uF418"
|
|
1043
|
-
|
|
1584
|
+
truncation_length = 18
|
|
1044
1585
|
|
|
1045
1586
|
[git_status]
|
|
1046
|
-
format = "[$all_status$ahead_behind ]($style)"
|
|
1047
|
-
style = "fg
|
|
1587
|
+
format = "([ $all_status$ahead_behind ]($style))"
|
|
1588
|
+
style = "fg:ink bg:peach"
|
|
1048
1589
|
|
|
1049
|
-
[
|
|
1050
|
-
format = "[ $symbol $
|
|
1051
|
-
|
|
1052
|
-
|
|
1590
|
+
[model]
|
|
1591
|
+
format = "([\uE0B0](fg:prev_bg bg:blue)[ $symbol $model ]($style))"
|
|
1592
|
+
style = "bold fg:ink bg:blue"
|
|
1593
|
+
symbol = "\u25C6"
|
|
1594
|
+
shorten_model = true
|
|
1595
|
+
truncation_length = 22
|
|
1596
|
+
truncation_direction = "middle"
|
|
1053
1597
|
|
|
1054
|
-
[
|
|
1055
|
-
format = "[ $
|
|
1056
|
-
|
|
1057
|
-
style = "fg:#1f1f1f bg:#86BBD8 bold"
|
|
1598
|
+
[thinking]
|
|
1599
|
+
format = "([\uE0B0](fg:prev_bg bg:teal)[ $level ]($style))"
|
|
1600
|
+
style = "fg:white bg:teal"
|
|
1058
1601
|
|
|
1059
1602
|
[context]
|
|
1060
|
-
format = "[
|
|
1061
|
-
symbol = "\u{F035B}"
|
|
1603
|
+
format = "([ ctx $percentage ]($style))"
|
|
1062
1604
|
|
|
1063
1605
|
[[context.display]]
|
|
1064
1606
|
threshold = 0
|
|
1065
|
-
style = "
|
|
1607
|
+
style = "fg:white bg:navy"
|
|
1066
1608
|
hidden = false
|
|
1067
1609
|
|
|
1068
1610
|
[time]
|
|
1069
|
-
format = "[
|
|
1070
|
-
|
|
1071
|
-
|
|
1611
|
+
format = "[ $time ]($style)"
|
|
1612
|
+
style = "fg:white bg:navy"
|
|
1613
|
+
time_format = "%H:%M"
|
|
1614
|
+
|
|
1615
|
+
[extension_status]
|
|
1616
|
+
format = "([$statuses]($style))"
|
|
1617
|
+
style = "fg:muted"
|
|
1618
|
+
separator = " \xB7 "
|
|
1619
|
+
max_statuses = 2
|
|
1620
|
+
icons = { fallback = "" }
|
|
1072
1621
|
`;
|
|
1073
1622
|
|
|
1074
1623
|
// src/presets/plain-text-symbols.ts
|
|
@@ -1125,6 +1674,94 @@ symbol = "time"
|
|
|
1125
1674
|
style = "bold yellow"
|
|
1126
1675
|
`;
|
|
1127
1676
|
|
|
1677
|
+
// src/presets/powerlevel10k-lean.ts
|
|
1678
|
+
var POWERLEVEL10K_LEAN_PRESET = `# Pi-native adaptation of Powerlevel10k Lean.
|
|
1679
|
+
# Source: https://github.com/romkatv/powerlevel10k#readme
|
|
1680
|
+
# Original configuration: https://github.com/romkatv/powerlevel10k/blob/master/config/p10k-lean.zsh
|
|
1681
|
+
# Font: Standard Unicode. See NOTICES.md for attribution and license terms.
|
|
1682
|
+
# Keep Lean's path/Git row, open spacing, and lower prompt mark. The lower row is a footer, not a shell input line; Pi wraps instead of hiding overlaps.
|
|
1683
|
+
|
|
1684
|
+
format = "$directory$git_branch$git_status\${fill}$context$time\\n$brand$model$thinking\${fill}$activity$tokens(\\n$extension_status)"
|
|
1685
|
+
palette = "lean"
|
|
1686
|
+
|
|
1687
|
+
[palettes.lean]
|
|
1688
|
+
path = "#00afff"
|
|
1689
|
+
green = "#5fd700"
|
|
1690
|
+
violet = "#8787af"
|
|
1691
|
+
red = "#ff0000"
|
|
1692
|
+
yellow = "#ffff00"
|
|
1693
|
+
text = "#d7d7d7"
|
|
1694
|
+
muted = "#808080"
|
|
1695
|
+
cyan = "#00d7d7"
|
|
1696
|
+
|
|
1697
|
+
[directory]
|
|
1698
|
+
format = "[$path ]($style)"
|
|
1699
|
+
style = "bold fg:path"
|
|
1700
|
+
symbol = "dir"
|
|
1701
|
+
truncation_length = 2
|
|
1702
|
+
truncation_symbol = "\u2026/"
|
|
1703
|
+
|
|
1704
|
+
[git_branch]
|
|
1705
|
+
format = "[on $branch ]($style)"
|
|
1706
|
+
style = "fg:green"
|
|
1707
|
+
symbol = ""
|
|
1708
|
+
truncation_length = 18
|
|
1709
|
+
|
|
1710
|
+
[git_status]
|
|
1711
|
+
format = "([ $all_status$ahead_behind ]($style))"
|
|
1712
|
+
style = "fg:red"
|
|
1713
|
+
|
|
1714
|
+
[brand]
|
|
1715
|
+
format = "[$symbol ]($style)"
|
|
1716
|
+
style = "bold fg:green"
|
|
1717
|
+
symbol = "\u276F"
|
|
1718
|
+
|
|
1719
|
+
[model]
|
|
1720
|
+
format = "[$model ]($style)"
|
|
1721
|
+
style = "fg:text"
|
|
1722
|
+
symbol = "\u25C6"
|
|
1723
|
+
shorten_model = true
|
|
1724
|
+
truncation_length = 22
|
|
1725
|
+
truncation_direction = "middle"
|
|
1726
|
+
|
|
1727
|
+
[thinking]
|
|
1728
|
+
format = "[$level ]($style)"
|
|
1729
|
+
style = "fg:violet"
|
|
1730
|
+
|
|
1731
|
+
[activity]
|
|
1732
|
+
format = "[$text ]($style)"
|
|
1733
|
+
style = "fg:yellow"
|
|
1734
|
+
symbol = "\u25CF"
|
|
1735
|
+
|
|
1736
|
+
[tokens]
|
|
1737
|
+
format = "[\u2191$input \u2193$output]($style)"
|
|
1738
|
+
style = "fg:cyan"
|
|
1739
|
+
|
|
1740
|
+
[context]
|
|
1741
|
+
format = "[ctx $percentage ]($style)"
|
|
1742
|
+
|
|
1743
|
+
[[context.display]]
|
|
1744
|
+
threshold = 0
|
|
1745
|
+
style = "fg:muted"
|
|
1746
|
+
hidden = false
|
|
1747
|
+
|
|
1748
|
+
[time]
|
|
1749
|
+
format = "[$time]($style)"
|
|
1750
|
+
style = "fg:muted"
|
|
1751
|
+
time_format = "%H:%M"
|
|
1752
|
+
|
|
1753
|
+
[fill]
|
|
1754
|
+
style = "fg:muted"
|
|
1755
|
+
symbol = " "
|
|
1756
|
+
|
|
1757
|
+
[extension_status]
|
|
1758
|
+
format = "([$statuses]($style))"
|
|
1759
|
+
style = "fg:muted"
|
|
1760
|
+
separator = " \xB7 "
|
|
1761
|
+
max_statuses = 2
|
|
1762
|
+
icons = { fallback = "" }
|
|
1763
|
+
`;
|
|
1764
|
+
|
|
1128
1765
|
// src/presets/pure-preset.ts
|
|
1129
1766
|
var PURE_PRESET = `# Pi-native adaptation of Starship's Pure preset.
|
|
1130
1767
|
format = "$directory$git_branch$git_state$git_status$activity\\n$model$thinking$context$fill$time"
|
|
@@ -1183,58 +1820,78 @@ style = "bright-black"
|
|
|
1183
1820
|
`;
|
|
1184
1821
|
|
|
1185
1822
|
// src/presets/tokyo-night.ts
|
|
1186
|
-
var TOKYO_NIGHT_PRESET = `# Pi-native adaptation of
|
|
1187
|
-
|
|
1823
|
+
var TOKYO_NIGHT_PRESET = `# Pi-native adaptation of Tokyo Night.
|
|
1824
|
+
# Source: https://starship.rs/presets/tokyo-night
|
|
1825
|
+
# Original configuration: https://starship.rs/presets/toml/tokyo-night.toml
|
|
1826
|
+
# Font: Nerd Font. See NOTICES.md for attribution and license terms.
|
|
1827
|
+
# Replace OS and language probes with Pi and the selected model. Use the final dark block for context and the clock.
|
|
1828
|
+
|
|
1829
|
+
format = "[\u2591\u2592\u2593](lead)$brand$directory([\uE0B4](fg:prev_bg bg:git)$git_branch$git_status)([\uE0B4](fg:prev_bg bg:model)$model$thinking)([\uE0B4](fg:prev_bg bg:meter)$context$time)[\uE0B4](fg:prev_bg)(\\n$extension_status)"
|
|
1830
|
+
palette = "tokyo_night"
|
|
1831
|
+
|
|
1832
|
+
[palettes.tokyo_night]
|
|
1833
|
+
lead = "#a3aed2"
|
|
1834
|
+
ink = "#090c0c"
|
|
1835
|
+
blue = "#769ff0"
|
|
1836
|
+
fg = "#e3e5e5"
|
|
1837
|
+
git = "#394260"
|
|
1838
|
+
model = "#212736"
|
|
1839
|
+
meter = "#1d2230"
|
|
1840
|
+
muted = "#a0a9cb"
|
|
1188
1841
|
|
|
1189
1842
|
[brand]
|
|
1190
1843
|
format = "[ $symbol ]($style)"
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
[model]
|
|
1195
|
-
format = "[$model ]($style)"
|
|
1196
|
-
symbol = ""
|
|
1197
|
-
style = "fg:#090c0c bg:#a3aed2 bold"
|
|
1844
|
+
style = "bold fg:ink bg:lead"
|
|
1845
|
+
symbol = "\u03C0"
|
|
1198
1846
|
|
|
1199
1847
|
[directory]
|
|
1200
|
-
format = "[ $path ]($style)"
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
truncation_length =
|
|
1848
|
+
format = "([\uE0B4](fg:prev_bg bg:blue)[ $symbol $path ]($style))"
|
|
1849
|
+
style = "bold fg:ink bg:blue"
|
|
1850
|
+
symbol = "\uF07B"
|
|
1851
|
+
truncation_length = 2
|
|
1204
1852
|
truncation_symbol = "\u2026/"
|
|
1205
1853
|
|
|
1206
1854
|
[git_branch]
|
|
1207
|
-
format = "[ $symbol $branch ]($style)"
|
|
1855
|
+
format = "([ $symbol $branch ]($style))"
|
|
1856
|
+
style = "fg:blue bg:git"
|
|
1208
1857
|
symbol = "\uF418"
|
|
1209
|
-
|
|
1858
|
+
truncation_length = 18
|
|
1210
1859
|
|
|
1211
1860
|
[git_status]
|
|
1212
|
-
format = "[$all_status$ahead_behind ]($style)"
|
|
1213
|
-
style = "fg
|
|
1861
|
+
format = "([ $all_status$ahead_behind ]($style))"
|
|
1862
|
+
style = "fg:blue bg:git"
|
|
1214
1863
|
|
|
1215
|
-
[
|
|
1216
|
-
format = "[ $symbol $
|
|
1217
|
-
|
|
1218
|
-
|
|
1864
|
+
[model]
|
|
1865
|
+
format = "([ $symbol $model ]($style))"
|
|
1866
|
+
style = "fg:blue bg:model"
|
|
1867
|
+
symbol = "\u25C6"
|
|
1868
|
+
shorten_model = true
|
|
1869
|
+
truncation_length = 22
|
|
1870
|
+
truncation_direction = "middle"
|
|
1219
1871
|
|
|
1220
|
-
[
|
|
1221
|
-
format = "[ $
|
|
1222
|
-
|
|
1223
|
-
style = "fg:#769ff0 bg:#212736 bold"
|
|
1872
|
+
[thinking]
|
|
1873
|
+
format = "([ $level ]($style))"
|
|
1874
|
+
style = "fg:muted bg:model"
|
|
1224
1875
|
|
|
1225
1876
|
[context]
|
|
1226
|
-
format = "[
|
|
1227
|
-
symbol = "\u{F035B}"
|
|
1877
|
+
format = "([ ctx $percentage ]($style))"
|
|
1228
1878
|
|
|
1229
1879
|
[[context.display]]
|
|
1230
1880
|
threshold = 0
|
|
1231
|
-
style = "
|
|
1881
|
+
style = "fg:muted bg:meter"
|
|
1232
1882
|
hidden = false
|
|
1233
1883
|
|
|
1234
1884
|
[time]
|
|
1235
|
-
format = "[
|
|
1236
|
-
|
|
1237
|
-
|
|
1885
|
+
format = "[ $time ]($style)"
|
|
1886
|
+
style = "fg:muted bg:meter"
|
|
1887
|
+
time_format = "%H:%M"
|
|
1888
|
+
|
|
1889
|
+
[extension_status]
|
|
1890
|
+
format = "([$statuses]($style))"
|
|
1891
|
+
style = "fg:muted"
|
|
1892
|
+
separator = " \xB7 "
|
|
1893
|
+
max_statuses = 2
|
|
1894
|
+
icons = { fallback = "" }
|
|
1238
1895
|
`;
|
|
1239
1896
|
|
|
1240
1897
|
// src/presets/catalog.ts
|
|
@@ -1260,10 +1917,24 @@ var STARSHIP_PRESETS = [
|
|
|
1260
1917
|
requiresNerdFont: true,
|
|
1261
1918
|
rawDocument: CATPPUCCIN_POWERLINE_PRESET
|
|
1262
1919
|
},
|
|
1920
|
+
{
|
|
1921
|
+
id: "catppuccin-tmux",
|
|
1922
|
+
label: "Catppuccin Tmux",
|
|
1923
|
+
description: "Single-row Mocha statusline with rounded labels \xB7 requires Nerd Font",
|
|
1924
|
+
requiresNerdFont: true,
|
|
1925
|
+
rawDocument: CATPPUCCIN_TMUX_PRESET
|
|
1926
|
+
},
|
|
1927
|
+
{
|
|
1928
|
+
id: "dracula-tmux",
|
|
1929
|
+
label: "Dracula Tmux",
|
|
1930
|
+
description: "Dark full-width rail with vivid rectangular blocks \xB7 font-safe",
|
|
1931
|
+
requiresNerdFont: false,
|
|
1932
|
+
rawDocument: DRACULA_TMUX_PRESET
|
|
1933
|
+
},
|
|
1263
1934
|
{
|
|
1264
1935
|
id: "gruvbox-rainbow",
|
|
1265
1936
|
label: "Gruvbox Rainbow",
|
|
1266
|
-
description: "Warm
|
|
1937
|
+
description: "Warm connected segments above a Pi usage row \xB7 requires Nerd Font",
|
|
1267
1938
|
requiresNerdFont: true,
|
|
1268
1939
|
rawDocument: GRUVBOX_RAINBOW_PRESET
|
|
1269
1940
|
},
|
|
@@ -1274,6 +1945,27 @@ var STARSHIP_PRESETS = [
|
|
|
1274
1945
|
requiresNerdFont: false,
|
|
1275
1946
|
rawDocument: JETPACK_PRESET
|
|
1276
1947
|
},
|
|
1948
|
+
{
|
|
1949
|
+
id: "lualine-bubbles",
|
|
1950
|
+
label: "Lualine Bubbles",
|
|
1951
|
+
description: "Violet Pi badge, gray workspace, and session pills \xB7 requires Nerd Font",
|
|
1952
|
+
requiresNerdFont: true,
|
|
1953
|
+
rawDocument: LUALINE_BUBBLES_PRESET
|
|
1954
|
+
},
|
|
1955
|
+
{
|
|
1956
|
+
id: "lualine-evil",
|
|
1957
|
+
label: "Lualine Eviline",
|
|
1958
|
+
description: "Flat dark statusline with colored text and blue edge bars \xB7 font-safe",
|
|
1959
|
+
requiresNerdFont: false,
|
|
1960
|
+
rawDocument: LUALINE_EVIL_PRESET
|
|
1961
|
+
},
|
|
1962
|
+
{
|
|
1963
|
+
id: "lualine-slanted-gaps",
|
|
1964
|
+
label: "Lualine Slanted Gaps",
|
|
1965
|
+
description: "Light statusline with opposing diagonal segments \xB7 requires Nerd Font",
|
|
1966
|
+
requiresNerdFont: true,
|
|
1967
|
+
rawDocument: LUALINE_SLANTED_GAPS_PRESET
|
|
1968
|
+
},
|
|
1277
1969
|
{
|
|
1278
1970
|
id: "nerd-font-symbols",
|
|
1279
1971
|
label: "Nerd Font Symbols",
|
|
@@ -1297,11 +1989,18 @@ var STARSHIP_PRESETS = [
|
|
|
1297
1989
|
},
|
|
1298
1990
|
{
|
|
1299
1991
|
id: "no-runtime-versions",
|
|
1300
|
-
label: "
|
|
1301
|
-
description: "
|
|
1992
|
+
label: "Session Indicators",
|
|
1993
|
+
description: "Hide model names, thinking levels, and activity details \xB7 font-safe",
|
|
1302
1994
|
requiresNerdFont: false,
|
|
1303
1995
|
rawDocument: NO_RUNTIME_VERSIONS_PRESET
|
|
1304
1996
|
},
|
|
1997
|
+
{
|
|
1998
|
+
id: "oh-my-posh-atomic",
|
|
1999
|
+
label: "Oh My Posh Atomic",
|
|
2000
|
+
description: "Two-row frame with a warm chain and cool usage pills \xB7 requires Nerd Font",
|
|
2001
|
+
requiresNerdFont: true,
|
|
2002
|
+
rawDocument: OH_MY_POSH_ATOMIC_PRESET
|
|
2003
|
+
},
|
|
1305
2004
|
{
|
|
1306
2005
|
id: "pastel-powerline",
|
|
1307
2006
|
label: "Pastel Powerline",
|
|
@@ -1316,9 +2015,16 @@ var STARSHIP_PRESETS = [
|
|
|
1316
2015
|
requiresNerdFont: false,
|
|
1317
2016
|
rawDocument: PLAIN_TEXT_SYMBOLS_PRESET
|
|
1318
2017
|
},
|
|
2018
|
+
{
|
|
2019
|
+
id: "powerlevel10k-lean",
|
|
2020
|
+
label: "Powerlevel10k Lean",
|
|
2021
|
+
description: "Background-free workspace and Pi session rows \xB7 font-safe",
|
|
2022
|
+
requiresNerdFont: false,
|
|
2023
|
+
rawDocument: POWERLEVEL10K_LEAN_PRESET
|
|
2024
|
+
},
|
|
1319
2025
|
{
|
|
1320
2026
|
id: "pure-preset",
|
|
1321
|
-
label: "Pure
|
|
2027
|
+
label: "Pure",
|
|
1322
2028
|
description: "Clean two-line workspace and session context \xB7 font-safe",
|
|
1323
2029
|
requiresNerdFont: false,
|
|
1324
2030
|
rawDocument: PURE_PRESET
|
|
@@ -1583,4 +2289,4 @@ export {
|
|
|
1583
2289
|
configurationMenuScreen,
|
|
1584
2290
|
reloadConfiguration
|
|
1585
2291
|
};
|
|
1586
|
-
//# sourceMappingURL=chunk-
|
|
2292
|
+
//# sourceMappingURL=chunk-YK4S4RRM.ts.map
|