diff --git a/modules/programs/starship.nix b/modules/programs/starship.nix index 89d0deda..99a1fa8e 100644 --- a/modules/programs/starship.nix +++ b/modules/programs/starship.nix @@ -50,7 +50,10 @@ in { "$character" ]; scan_timeout = 10; - character.symbol = "➜"; + character = { + success_symbol = "➜"; + error_symbol = "➜"; + }; } ''; description = '' diff --git a/tests/modules/programs/starship/settings-expected.toml b/tests/modules/programs/starship/settings-expected.toml index 8ebee6ac..ee07a02e 100644 --- a/tests/modules/programs/starship/settings-expected.toml +++ b/tests/modules/programs/starship/settings-expected.toml @@ -18,7 +18,8 @@ style = "bold yellow" threshold = 30 [character] -symbol = "➜" +error_symbol = "➜" +success_symbol = "➜" [memory_usage] threshold = -1 diff --git a/tests/modules/programs/starship/settings.nix b/tests/modules/programs/starship/settings.nix index ea0e6d8e..4c506c9e 100644 --- a/tests/modules/programs/starship/settings.nix +++ b/tests/modules/programs/starship/settings.nix @@ -17,7 +17,10 @@ with lib; "$character" ]; scan_timeout = 10; - character.symbol = "➜"; + character = { + success_symbol = "➜"; + error_symbol = "➜"; + }; package.disabled = true; memory_usage.threshold = -1; aws.style = "bold blue";