From 4962271c7f6e2df23310d27aa8e76b4275f9500d Mon Sep 17 00:00:00 2001 From: Bryan Date: Mon, 25 Aug 2025 07:11:41 -0600 Subject: [PATCH] lnk: added starship.toml --- .config/starship.toml | 95 +++++++++++++++++++++++++++++++++++++++++++ .lnk | 1 + 2 files changed, 96 insertions(+) create mode 100644 .config/starship.toml diff --git a/.config/starship.toml b/.config/starship.toml new file mode 100644 index 0000000..6f90559 --- /dev/null +++ b/.config/starship.toml @@ -0,0 +1,95 @@ +# https://github.com/starship/starship/discussions/1107 +# Pills + +add_newline = true +palette = "default" + +format = """ +[╭](fg:separator)\ +$status\ +$directory\ +$git_branch\ +$git_status\ +$cmd_duration\ +$time\ +$line_break\ +[╰](fg:separator)\ +$character\ +""" + +########################################### + +[palettes.default] +prompt_ok = "#8047c1" +prompt_err = "#e23140" +icon = "#161514" +separator = "#35312c" +background = "#35312c" + +directory = "#9f31e2" +duration = "#e26f31" +status = "#e23140" +git_branch = "#31e268" +git_status = "#31e268" + +########################################### + +[character] +success_symbol = "[❯](fg:prompt_ok)" +error_symbol = "[❯](fg:prompt_err)" +vimcmd_symbol = "[❮](fg:git_status)" +vimcmd_replace_one_symbol = "[❮](bold purple)" +vimcmd_replace_symbol = "[❮](bold purple)" +vimcmd_visual_symbol = "[❮](bold yellow)" + + +[status] +format = "[─](fg:separator)[](fg:status)[](fg:icon bg:status)[](fg:status bg:background)[ $status](bg:background)[](fg:background)" +pipestatus = true +pipestatus_separator = "-" +pipestatus_segment_format = "$status" +pipestatus_format = "[─](fg:separator)[](fg:status)[](fg:icon bg:status)[](fg:status bg:background)[ $pipestatus](bg:background)[](fg:background)" +disabled = false + +[directory] +format = "[─](fg:separator)[](fg:directory)[](fg:icon bg:directory)[](fg:directory bg:background)[ $path](bg:background)[](fg:background)" +truncate_to_repo = false +truncation_length = 0 + +[directory.substitutions] +"Documents" = "󰈙" +"Downloads" = "" +"Music" = "󰝚" +"Pictures" = "" +"Repos" = "󰲋" + +[git_branch] +format = "[─](fg:separator)[](fg:git_branch)[ ](fg:icon bg:git_branch)[](fg:git_branch bg:background)[ $branch](bg:background)" + +[git_status] +modified = " " +untracked = " " +renamed = " " +deleted = " " +staged = " " +stashed = " " + +ahead = '⇡${count}' +diverged = '⇕⇡${ahead_count}⇣${behind_count}' +behind = '⇣${count}' + +# modified = "" +# untracked = "" +# renamed = "󰜴" +# deleted = " " +# staged = " " + +format = "[ ](fg:background bg:git_status)[$all_status$ahead_behind](fg:icon bg:git_status)[](fg:git_status)" + +[cmd_duration] +format = "[─](fg:separator)[](fg:duration)[󱐋](fg:icon bg:duration)[](fg:duration bg:background)[ $duration](bg:background)[](fg:background)" +min_time = 1000 + +[time] +format = "[─](fg:separator)[](fg:duration)[󰥔](fg:icon bg:duration)[](fg:duration bg:background)[ $time](bg:background)[](fg:background)" +disabled = true diff --git a/.lnk b/.lnk index 46ed38a..b52664f 100644 --- a/.lnk +++ b/.lnk @@ -1,4 +1,5 @@ .config/ov/config.yaml +.config/starship.toml .config/stew/stew.config.json .local/share/stew/Stewfile.lock.json .zsh_plugins.txt