Permalink
Browse files

Added battery info for modern theme

  • Loading branch information...
1 parent b79fc5d commit 8dded4fdc54b373e1908f6ecb7c174cb5ed8ad8a Mark Szymanski committed Mar 7, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 themes/modern/modern.theme.bash
View
4 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
}

0 comments on commit 8dded4f

Please sign in to comment.