{ config, ... }:
{
  programs.starship = {
    enable = true;
    enableZshIntegration = true;
    settings = {
      palette = "dynamic";
      scan_timeout = 10;
      character = {
        success_symbol =" [â•°â”€â®� ïŒ“ ](bold magenta)";
        error_symbol =" [â•°â”€â®� ïŒ“ ](bold red)";
      };
      time = {
        disabled = true;
        format = " ğŸ•™ $time($style)\n";
        time_format = "%r";
        use_12hr = true;
        style = "fg:cyan bold";
      };
      username = {
        disabled = false;
        style_user = "fg:magenta";
        style_root = "fg:red bg:blue  italic";
        format = " [â•­â”€$user]($style)@";
        show_always = true;
      };
      hostname = {
        ssh_only = false;
        ssh_symbol = "ó°£€ ";
        format = "[$hostname]($style) in ";
        style = " fg:yellow";
        disabled = false;
      };
      directory = {
        read_only = " ï€£";
        #home_symbol = "~";
        truncation_length = 0;
        truncation_symbol = "â€¦/";
        truncate_to_repo = true;
        substitutions = {
          "Documents" = "ó°ˆ™ ";
          "Downloads" = "ï€™ ";
          "Music" = "ó°�š ";
          "Pictures" = "ï€¾ ";
        };
      };
      rust = {
        symbol = "ğŸ¦€";
        format = "[ $symbol $version ](bg:yellow fg:bg )";
      };
      python = {
        symbol = "îœ¼";
        format = "[ $symbol $version ](bg:yellow fg:bg )";
      };
     # c = {
     #   symbol = "î˜�";
     #   detect_extensions = ''["c", "h", "cpp"]'';
     # };
      lua = {
        symbol = "î˜ ";
        format = "[ $symbol $version ](bg:blue fg:bg)";
      };
      os = {
        disabled = true;
        style = "bg:blue";
        symbols = {
          Arch = "[ ïŒƒ ](fg:bg $style)";
          NixOS = "[ ïŒ“ ](fg:bg $style)";
          Macos = "[ îœ‘ ](fg:bg $style)";
          Void = "[ ïŒ® ](fg:bg bg:green)";
          Linux = "[ î¯† ](fg:bg $style)";
        };
      };
      nix_shell = {
        disabled = false;
        symbol = "ïŒ“";
        format = "[ $symbol $state ](bg:blue fg:bg bold)";
      };
      cmd_duration = {
        min_time = 1;
        format = "took [$duration](fg:yellow)";
      };
      git_branch = {
        format = "[$symbol$branch(:$remote_branch) ](fg:purple bold)";
        symbol = "ï�˜ ";
        disabled = false;
      };
      git_status = {
        disabled = true;
        stashed = " ó°¿º";
        modified = " ó±��";
        untracked = " ó±™“";
        deleted = " ó±™‘";
        renamed = " ó±™“";
        staged = " ó°�œ";
        style = "white";
      };
      palettes.dynamic = {
        fg = "#${config.colorScheme.palette.base06}";
        bg = "#${config.colorScheme.palette.base00}";
        red = "#${config.colorScheme.palette.base08}";
        yellow = "#${config.colorScheme.palette.base0A}";
        dark-yellow = "#${config.colorScheme.palette.base0A}";
        green = "#${config.colorScheme.palette.base0B}";
        dark-green = "#${config.colorScheme.palette.base0B}";
        cyan = "#${config.colorScheme.palette.base0C}";
        dark-cyan = "#${config.colorScheme.palette.base0C}";
        blue = "#${config.colorScheme.palette.base0D}";
        dark-blue = "#${config.colorScheme.palette.base0D}";
        magenta = "#${config.colorScheme.palette.base0E}";
        dark-magenta = "#${config.colorScheme.palette.base0E}";
        orange = "#${config.colorScheme.palette.base09}";
        gray = "#${config.colorScheme.palette.base03}";
        dark-gray = "#${config.colorScheme.palette.base02}";
      };
    };
  };
}
