mirror of
https://github.com/Mastermindzh/dotfiles.git
synced 2025-07-27 04:33:17 +02:00
The Tidal-hifi Settings window now floats.
Added the isos mountpoint to the mounts script Switched to powerline-rs
This commit is contained in:
@@ -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
|
||||
|
@@ -41,6 +41,11 @@ declare -A MOUNTS3=(
|
||||
[share]='appdata'
|
||||
[mount]='appdata'
|
||||
)
|
||||
declare -A MOUNTS4=(
|
||||
[server]="$MY_SERVER_LOCATION"
|
||||
[share]='isos'
|
||||
[mount]='isos'
|
||||
)
|
||||
|
||||
# declare array with "objects"
|
||||
declare -n MOUNTS
|
||||
|
Reference in New Issue
Block a user