From e859d7585d16c1eb3b594f339bc04fe97d9f268d Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Thu, 18 Jan 2024 06:18:56 +0000 Subject: [PATCH] Add a bunch of starship symbols / formatting updates --- home/default.nix | 40 +++++++++++++++++++++++++++++++++------- 1 file changed, 33 insertions(+), 7 deletions(-) diff --git a/home/default.nix b/home/default.nix index e00661c9..7e7cc328 100644 --- a/home/default.nix +++ b/home/default.nix @@ -128,20 +128,21 @@ enableTransience = true; settings = { command_timeout = 1000; - add_newline = true; + container = { symbol = " "; }; + add_newline = false; character = { - success_symbol = "[❯](bold green)"; - error_symbol = "[❯](bold red)"; + success_symbol = "[!](bold green)"; + error_symbol = "[?](bold red)"; }; directory = { truncation_length = 2; fish_style_pwd_dir_length = 1; - read_only = " 󰉐"; + read_only = "󰉐 "; truncate_to_repo = false; }; line_break.disabled = false; git_branch = { - symbol = " "; + symbol = " "; only_attached = true; ignore_branches = [ "master" "main" ]; }; @@ -151,11 +152,30 @@ tag_disabled = false; }; git_metrics.disabled = false; + git_status = { + stashed = "󰁯 "; + ahead = "󰁝 "; + behind = "󰁅 "; + up_to_date = ""; + diverged = "󰹹 "; + conflicted = "󰦎 "; + deleted = " "; + renamed = " "; + modified = " "; + staged = " "; + untracked = " "; + typechanged = " "; + }; + golang = { symbol = " "; }; + guix_shell = { symbol = " "; }; + haskell = { symbol = " "; }; hostname = { ssh_only = true; ssh_symbol = "󰢹 "; }; - localip.disabled = false; + java = { symbol = " "; }; + localip = { disabled = false; }; + lua = { symbol = " "; }; memory_usage = { disabled = false; symbol = "󰍛 "; @@ -163,7 +183,7 @@ nix_shell.symbol = "󱄅 "; os = { disabled = false; - format = "on [$symbol $name ]($style)"; + format = "on [$symbol]($style) "; style = "bold blue"; symbols = { Alpine = " "; @@ -194,6 +214,7 @@ Windows = " "; }; }; + package = { symbol = "󰏗 "; }; python = { symbol = "󰌠 "; python_binary = "python3"; @@ -202,7 +223,12 @@ shell = { disabled = false; format = "using [$indicator ]($style)"; + bash_indicator = "󱆃 "; + fish_indicator = "󰈺 "; + powershell_indicator = "󰨊 "; + unknown_indicator = "󱔢 "; }; + status = { }; sudo = { disabled = false; symbol = "󰪋 ";