Added battery info for modern theme
parent
b79fc5d03e
commit
8dded4fdc5
|
|
@ -41,10 +41,10 @@ prompt() {
|
||||||
# Yes, the indenting on these is weird, but it has to be like
|
# Yes, the indenting on these is weird, but it has to be like
|
||||||
# this otherwise it won't display properly.
|
# 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} "
|
${bold_red}└─▪${normal} "
|
||||||
else
|
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
|
fi
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue