The Tidal-hifi Settings window now floats.

Added the isos mountpoint to the mounts script
Switched to powerline-rs
This commit is contained in:
Rick van Lieshout 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

View File

@ -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

View File

@ -224,6 +224,7 @@ for_window [class="Pavucontrol"] floating enable
for_window [class="Lxappearance"] floating enable
for_window [class="Arandr"] floating enable
for_window [class="Eog"] floating enable
for_window [title="Tidal-hifi - settings"] floating enable
############################################
# Workspace specific tools #