The Tidal-hifi Settings window now floats.

Added the isos mountpoint to the mounts script
Switched to powerline-rs
This commit is contained in:
2019-12-01 16:51:23 +01:00
parent 9714b2fa1d
commit 0b69bd77f6
3 changed files with 9 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
# if powerline-shell is available use it.
function _update_ps1() {
if hash powerline-shell 2>/dev/null; then
PS1=$(powerline-shell $?)
if hash powerline-rs 2>/dev/null; then
PS1="$(powerline-rs --shell bash $?)"
fi
}
@@ -25,5 +25,5 @@ neofetch
PS1='[\u@\h \W]\$ '
if [[ $TERM != linux && ! $PROMPT_COMMAND =~ _update_ps1 ]]; then
PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
fi