aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2025-08-29 16:20:35 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2025-08-29 16:20:35 +0530
commitaab0ab45f5b9eef4cb7c0b043ac52e1ca788f3a5 (patch)
tree6a62816c9dd84094ac82c6c95c65c071cd433417
parent19a812f508f17d7e807541bbbfed775a9207381e (diff)
added catppuccin mocha and powerline to starship
-rw-r--r--.config/starship.toml69
1 files changed, 54 insertions, 15 deletions
diff --git a/.config/starship.toml b/.config/starship.toml
index 72e8c18..e42ae40 100644
--- a/.config/starship.toml
+++ b/.config/starship.toml
@@ -1,24 +1,63 @@
# Don't print a new line at the start of the prompt
add_newline = false
-format = "$all"
+format = " $all "
+palette = "catppuccin_mocha"
+line_break.disabled = true
[character]
-success_symbol = "[](#9B35E8)"
-error_symbol = "[](#F516A4)"
-vicmd_symbol = "[](#0fe9b0)"
+format = "$symbol"
+success_symbol = '[](fg:mauve)[\[\]](bg:mauve fg:mantle)[](fg:mauve)'
+error_symbol = '[](fg:red)[\[\]](bg:red fg:mantle)[](fg:red)'
+vicmd_symbol = '[](fg:lavender)[\[v\]](bg:lavender fg:mantle)[](fg:lavender)'
+vimcmd_visual_symbol = '[](fg:yellow)[\[V\]](bg:yellow fg:mantle)[](fg:yellow)'
+vimcmd_replace_one_symbol = '[](fg:yellow)[\[r\]](bg:yellow fg:mantle)[](fg:yellow)'
+vimcmd_replace_symbol = '[](fg:peach)[\[R\]](bg:peach fg:mantle)[](fg:peach)'
-[line_break]
-disabled = true
+[cmd_duration]
+disabled = false
+min_time = 5000
+format = '[](fg:peach)[took $duration](bg:peach fg:mantle)[](fg:peach)'
+show_notifications = true
+min_time_to_notify = 30000
-[status]
-style = "bg:blue"
-format = '[\[$common_meaning$signal_name$maybe_int\]]($style) '
-map_symbol = true
+[directory]
+read_only = "󰌾 "
+style = "bold mauve"
+format = '[](fg:surface0)[ $path]($style bg:surface0)[ $read_only]($read_only_style bg:surface0)[](fg:surface0)'
+
+[sudo]
disabled = false
+format= "[](fg:teal)[sudo](bg:teal fg:mantle)[](fg:teal)"
-[cmd_duration]
+[status]
+format = '[](fg:red)[$common_meaning$signal_name$maybe_int](bg:red fg:mantle)[](fg:red)'
+map_symbol = false
disabled = false
-min_time = 5000
-format = "[took](yellow) [$duration](bold #F516A4) "
-show_notifications = false
-min_time_to_notify = 10000
+
+[palettes.catppuccin_mocha]
+rosewater = "#f5e0dc"
+flamingo = "#f2cdcd"
+pink = "#f5c2e7"
+mauve = "#cba6f7"
+red = "#f38ba8"
+maroon = "#eba0ac"
+peach = "#fab387"
+yellow = "#f9e2af"
+green = "#a6e3a1"
+teal = "#94e2d5"
+sky = "#89dceb"
+sapphire = "#74c7ec"
+blue = "#89b4fa"
+lavender = "#b4befe"
+text = "#cdd6f4"
+subtext1 = "#bac2de"
+subtext0 = "#a6adc8"
+overlay2 = "#9399b2"
+overlay1 = "#7f849c"
+overlay0 = "#6c7086"
+surface2 = "#585b70"
+surface1 = "#45475a"
+surface0 = "#313244"
+base = "#1e1e2e"
+mantle = "#181825"
+crust = "#11111b"