summaryrefslogtreecommitdiff
path: root/.config/starship
diff options
context:
space:
mode:
authoryuzu-eva <stevenhu@web.de>2022-08-22 22:48:02 +0200
committeryuzu-eva <stevenhu@web.de>2022-08-22 22:48:02 +0200
commitb2abf7439ed3c8097bccd3f71f3f5410552ac7fe (patch)
treeb650fd81505e6d015e490cebf0aa9b4f0dba68c5 /.config/starship
parent599e1315ce9be32944681ff4e88fc5afa8ae81b8 (diff)
switch from powerline to starship, added mpd & ncmpcpp configs. also using nnn now
Diffstat (limited to '.config/starship')
-rw-r--r--.config/starship/starship.toml48
1 files changed, 48 insertions, 0 deletions
diff --git a/.config/starship/starship.toml b/.config/starship/starship.toml
new file mode 100644
index 0000000..63ba159
--- /dev/null
+++ b/.config/starship/starship.toml
@@ -0,0 +1,48 @@
+format = """
+[](#CA5FCA)\
+$username\
+[](fg:#CA5FCA bg:#A92BA9 )\
+$directory\
+[](fg:#A92BA9 bg:#DC317D)\
+$git_branch\
+$git_status\
+[ ](fg:#DC317D)\
+"""
+
+# Disable the blank line at the start of the prompt
+# add_newline = false
+
+# You can also replace your username with a neat symbol like  to save some space
+[username]
+show_always = true
+style_user = "fg:#FFFFFF bg:#CA5FCA"
+style_root = "bg:#9A348E"
+format = '[$user ]($style)'
+
+[directory]
+style = "fg:#FFFFFF bg:#A92BA9"
+format = "[ $path ]($style)"
+truncation_length = 3
+truncation_symbol = "…/"
+
+# Here is how you can shorten some long paths by text replacement
+# similar to mapped_locations in Oh My Posh:
+[directory.substitutions]
+"Documents" = " "
+"Downloads" = " "
+"Music" = " "
+"Pictures" = " "
+# Keep in mind that the order matters. For example:
+# "Important Documents" = "  "
+# will not be replaced, because "Documents" was already substituted before.
+# So either put "Important Documents" before "Documents" or use the substituted version:
+# "Important  " = "  "
+
+[git_branch]
+symbol = ""
+style = "fg:#FFFFFF bg:#DC317D"
+format = '[ $symbol $branch ]($style)'
+
+[git_status]
+style = "fg:#FFFFFF bg:#DC317D"
+format = '[$all_status$ahead_behind ]($style)'