diff --git a/.config/starship/starship.toml b/.config/starship/starship.toml index a9b0c002..69ffc28f 100644 --- a/.config/starship/starship.toml +++ b/.config/starship/starship.toml @@ -4,6 +4,16 @@ # Inserts a blank line between shell prompts add_newline = true +[cmd_duration] +min_time = 2000 +format = "[󰔟 $duration](bold cyan)" + +[git_metrics] +disabled = false +added_style = "green" +deleted_style = "red" +format = '(\([+$added]($added_style)/[-$deleted]($deleted_style)\)) ' + [git_status] ahead = '[ $count](bold green) ' conflicted = '[󱡂 ](bold red) ' @@ -30,6 +40,15 @@ style = "blue" format = "[ ]($style)" detect_files = ["hyprland.conf"] +[custom.folder_number] +description = "Number of files (and folders) in the current working directory" +command = "fd -H --min-depth 1 --max-depth 1 | wc -l" +when = "true" +require_repo = true +symbol = " " +style = "blue bold" +format = '[$symbol$output]($style) ' + [aws] symbol = " " @@ -46,7 +65,7 @@ symbol = " " symbol = " " [directory] -read_only = "󰌾 " +read_only = " 󰌾 " home_symbol = " " truncation_length = 3