From c96160c2cf41d860bed3d163e69b4bbde01e1085 Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Sun, 11 Feb 2024 22:24:50 +0800 Subject: [PATCH] Revert "home: starship: use tokyonight preset" This reverts commit eaf4c735355b9e071cc69ce8ff69a77a4f5eee2a. --- home/applications/starship/default.nix | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/home/applications/starship/default.nix b/home/applications/starship/default.nix index 5776558..75ac05d 100644 --- a/home/applications/starship/default.nix +++ b/home/applications/starship/default.nix @@ -3,22 +3,18 @@ enable = true; settings = { - #add_newline = false; - #line_break.disabled = true; + add_newline = false; + line_break.disabled = true; - #character = { - # success_symbol = "[>](bold green)"; - # error_symbol = "[>](bold red)"; - # vimcmd_symbol = "[<](bold green)"; - # vimcmd_replace_one_symbol = "[<](bold purple)"; - # vimcmd_replace_symbol = "[<](bold purple)"; - # vimcmd_visual_symbol = "[<](bold yellow)"; - #}; + character = { + success_symbol = "[>](bold green)"; + error_symbol = "[>](bold red)"; + vimcmd_symbol = "[<](bold green)"; + vimcmd_replace_one_symbol = "[<](bold purple)"; + vimcmd_replace_symbol = "[<](bold purple)"; + vimcmd_visual_symbol = "[<](bold yellow)"; + }; } - // builtins.fromTOML (builtins.readFile "${pkgs.starship}/share/starship/presets/nerd-font-symbols.toml") - // builtins.fromTOML (builtins.readFile (pkgs.substitute { - src = "${pkgs.starship}/share/starship/presets/tokyo-night.toml"; - replacements = ["--replace-warn" "" ""]; - })); + // (builtins.fromTOML (builtins.readFile "${pkgs.starship}/share/starship/presets/nerd-font-symbols.toml")); }; }