From 8dded4fdc54b373e1908f6ecb7c174cb5ed8ad8a Mon Sep 17 00:00:00 2001 From: Mark Szymanski Date: Sun, 6 Mar 2011 18:40:16 -0600 Subject: [PATCH] Added battery info for modern theme --- themes/modern/modern.theme.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/modern/modern.theme.bash b/themes/modern/modern.theme.bash index 9f5d47a..3efe9ff 100644 --- a/themes/modern/modern.theme.bash +++ b/themes/modern/modern.theme.bash @@ -41,10 +41,10 @@ prompt() { # Yes, the indenting on these is weird, but it has to be like # this otherwise it won't display properly. - PS1="${TITLEBAR}${bold_red}┌─${reset_color}$(modern_scm_prompt)[${cyan}\W${normal}]$(is_vim_shell) + PS1="${TITLEBAR}${bold_red}┌─${reset_color}$(modern_scm_prompt)[${cyan}\W${normal}][$(battery_charge)]$(is_vim_shell) ${bold_red}└─▪${normal} " else - PS1="${TITLEBAR}┌─$(modern_scm_prompt)[${cyan}\W${normal}]$(is_vim_shell) + PS1="${TITLEBAR}┌─$(modern_scm_prompt)[${cyan}\W${normal}][$(battery_charge)]$(is_vim_shell) └─▪ " fi } -- 2.17.1