initial commit
This commit is contained in:
21
templates/powerline.custom.j2
Normal file
21
templates/powerline.custom.j2
Normal file
@ -0,0 +1,21 @@
|
||||
# {{ ansible_managed }}
|
||||
|
||||
if [ "$EUID" -eq 0 ]; then
|
||||
POWERLINE_HOSTNAME_BG="rouge"
|
||||
POWERLINE_HOSTNAME_FG="blanc"
|
||||
else
|
||||
POWERLINE_HOSTNAME_BG="{{ powerline_hostname_bg | default('blanc') }}"
|
||||
POWERLINE_HOSTNAME_FG="{{ powerline_hostname_fg | default('noir-fedora') }}"
|
||||
fi
|
||||
|
||||
#{% if powerline_hostname_bg is defined %}
|
||||
#POWERLINE_HOSTNAME_BG="{{ powerline_hostname_bg }}"
|
||||
#{% endif %}
|
||||
#{% if powerline_hostname_fg is defined %}
|
||||
#POWERLINE_HOSTNAME_FG="{{ powerline_hostname_fg }}"
|
||||
#{% endif %}
|
||||
|
||||
. ${HOME}/.config/powerline.bash
|
||||
PROMPT_COMMAND='__update_ps1 $?'
|
||||
|
||||
POWERLINE_SEGMENTS="logo heure hostname pwd python git git_sync docker status jobs"
|
Reference in New Issue
Block a user