summaryrefslogtreecommitdiffstats
path: root/src/configs/status.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/configs/status.rs')
-rw-r--r--src/configs/status.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/configs/status.rs b/src/configs/status.rs
index dde8766cf..567e3ad64 100644
--- a/src/configs/status.rs
+++ b/src/configs/status.rs
@@ -6,7 +6,13 @@ use starship_module_config_derive::ModuleConfig;
pub struct StatusConfig<'a> {
pub format: &'a str,
pub symbol: &'a str,
+ pub not_executable_symbol: &'a str,
+ pub not_found_symbol: &'a str,
+ pub sigint_symbol: &'a str,
+ pub signal_symbol: &'a str,
pub style: &'a str,
+ pub map_symbol: bool,
+ pub recognize_signal_code: bool,
pub disabled: bool,
}
@@ -15,7 +21,13 @@ impl<'a> RootModuleConfig<'a> for StatusConfig<'a> {
StatusConfig {
format: "[$symbol$status]($style) ",
symbol: "✖",
+ not_executable_symbol: "🚫",
+ not_found_symbol: "🔍",
+ sigint_symbol: "🧱",
+ signal_symbol: "⚡",
style: "bold red",
+ map_symbol: false,
+ recognize_signal_code: true,
disabled: true,
}
}