This commit is contained in:
Rick van Lieshout 2019-12-03 08:54:02 +01:00
commit 74dc68a687
3 changed files with 16 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-rs --shell bash $?)
if hash powerline-rs 2>/dev/null; then
PS1="$(powerline-rs --shell bash $?)"
fi
}
@ -20,6 +20,13 @@ export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# Fix .netcore paths if dotnet is installed
if hash dotnet 2>/dev/null; then
export DOTNET_ROOT=/opt/dotnet
export MSBuildSDKsPath=$DOTNET_ROOT/sdk/$(${DOTNET_ROOT}/dotnet --version)/Sdks
export PATH="${PATH}:${DOTNET_ROOT}:~/.dotnet/tools"
fi
#... :P fancy stuffs
#screenfetch -t -A "UBUNTU"
neofetch

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

@ -223,6 +223,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 #