From 0395decfd8e71bd1827d19956f8d87d6c77ebf45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Mon, 9 Jun 2025 01:03:00 +0200 Subject: [PATCH] feat(starship): new modules --- .config/starship/starship.toml | 38 ++++++++++++++++++++-------------- 1 file changed, 23 insertions(+), 15 deletions(-) diff --git a/.config/starship/starship.toml b/.config/starship/starship.toml index 77fd2aa3..9c124525 100644 --- a/.config/starship/starship.toml +++ b/.config/starship/starship.toml @@ -61,23 +61,31 @@ truncation_length = 3 # ".config" = " " # Custom entries -# [custom.yazi] -# description = "Shell launched inside Yazi" -# symbol = " " -# style = "blue bold" -# when = """ test -n "$YAZI_LEVEL" """ +[custom.neovim] +command = 'bob ls | rg Used | awk "{print \$2}"' # shows output of command +detect_folders = ["lua"] +style = "green" +format = "[ $output ]($style)" +shell = ["bash"] -# [custom.neovim] -# command = 'bob ls | rg Used | awk "{print \$2}"' # shows output of command -# detect_folders = ["lua"] -# style = "green" -# format = "[ $output ]($style)" -# shell = ["bash"] +[custom.hypr] +style = "blue" +format = "[ ]($style)" +detect_files = ["hyprland.conf"] -# [custom.hypr] -# style = "blue" -# format = "[ ]($style)" -# detect_files = ["hyprland.conf"] +[custom.docker] +files = ["Dockerfile", "docker-compose.yml", "docker-compose.yaml"] +style = "bold blue" +format = "[ ]($style)" + + +[custom.giturl] +# disabled = true +description = "Display symbol for remote Git server" +command = "check-git-remote" +when = 'git rev-parse --is-inside-work-tree 2> /dev/null' +shell = ["bash", "--noprofile", "--norc"] +format = "at $output " # Nerd fonts preset [aws]