diff --git a/src/make_prompt.rs b/src/make_prompt.rs index efaf87c..544f00a 100644 --- a/src/make_prompt.rs +++ b/src/make_prompt.rs @@ -235,22 +235,22 @@ fn main() print!("\n"); { print!("{}{}", shell_color_str(&"┌[", SH_GREEN) - , battery_info(12)); + , fixed_width(&get_git_branch(& std::path::Path::new(&raw_cwd)), 13)); print!("{}{}", shell_color_str(&"|", SH_GREEN) - , fixed_width(&get_git_branch(& std::path::Path::new(&raw_cwd)), 10)); + , fixed_width(&get_editor(), 13)); print!("{}{}", shell_color_str(&"|", SH_GREEN) - , fixed_width(&get_editor(), 12)); + , battery_info(8)); print!("{}{}", shell_color_str(&"|", SH_GREEN) , fixed_width(lastexit, 3)); println!("{}", shell_color_str(&"]┐", SH_GREEN)); } { print!("{}{}", shell_color_str(&"╞[", SH_GREEN) - , shell_color_str(&fixed_width(&getenv("HOSTNAME"), 12), SH_CYAN)); + , shell_color_str(&fixed_width(&getenv("HOSTNAME"), 13), SH_CYAN)); print!("{}{}", shell_color_str(&"|", SH_GREEN) - , shell_color_str(&fixed_width(&getenv("USER"), 10), SH_RED)); + , shell_color_str(&fixed_width(&getenv("USER"), 13), SH_RED)); print!("{}{}", shell_color_str(&"|", SH_GREEN) - , fixed_width(&cpu_arch, 12)); + , fixed_width(&cpu_arch, 8)); print!("{}{}", shell_color_str(&"|", SH_GREEN) , fixed_width(&bgjobs, 3));