diff --git a/fish/.config/fish/config.fish b/fish/.config/fish/config.fish index 500dc87..e67f8f2 100644 --- a/fish/.config/fish/config.fish +++ b/fish/.config/fish/config.fish @@ -6,5 +6,4 @@ fzf_key_bindings set -gx EDITOR vi set -gx XDG_RUNTIME_DIR /run/user/(id -u) eval (python -m virtualfish) - starship init fish | source diff --git a/fish/.config/starship.toml b/fish/.config/starship.toml new file mode 100644 index 0000000..baf39ce --- /dev/null +++ b/fish/.config/starship.toml @@ -0,0 +1,47 @@ +# Don't print a new line at the start of the prompt +add_newline = false + +[hostname] +ssh_only = false +disabled = false +style = "bold green" + +[memory_usage] +show_percentage = true +show_swap = true +threshold = -1 +symbol = " " +style = "bold dimmed green" + +[git_branch] +symbol = "🌱 " +truncation_length = 8 +truncation_symbol = "" + +[git_status] +conflicted = "🏳" +ahead = "🏎💨" +behind = "😰" +diverged = "😵" +untracked = "🤷‍" +stashed = "📦" +modified = "📝" +staged.value = "++" +staged.style = "green" +staged_count.enabled = true +staged_count.style = "green" +renamed = "👅" +deleted = "🗑" + +[battery] +full_symbol = "🔋" +charging_symbol = "⚡️" +discharging_symbol = "💀" + +[[battery.display]] +threshold = 10 +style = "bold red" + +[[battery.display]] +threshold = 40 +style = "bold yellow"