mirror of
https://github.com/Mastermindzh/dotfiles.git
synced 2024-11-22 06:44:41 +01:00
Merge branch 'master' of https://github.com/mastermindzh/dotfiles
This commit is contained in:
commit
74dc68a687
13
bash/.bashrc
13
bash/.bashrc
@ -1,7 +1,7 @@
|
|||||||
# if powerline-shell is available use it.
|
# if powerline-shell is available use it.
|
||||||
function _update_ps1() {
|
function _update_ps1() {
|
||||||
if hash powerline-shell 2>/dev/null; then
|
if hash powerline-rs 2>/dev/null; then
|
||||||
PS1=$(powerline-rs --shell bash $?)
|
PS1="$(powerline-rs --shell bash $?)"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -20,13 +20,20 @@ export NVM_DIR="$HOME/.nvm"
|
|||||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads 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
|
[ -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
|
#... :P fancy stuffs
|
||||||
#screenfetch -t -A "UBUNTU"
|
#screenfetch -t -A "UBUNTU"
|
||||||
neofetch
|
neofetch
|
||||||
PS1='[\u@\h \W]\$ '
|
PS1='[\u@\h \W]\$ '
|
||||||
|
|
||||||
if [[ $TERM != linux && ! $PROMPT_COMMAND =~ _update_ps1 ]]; then
|
if [[ $TERM != linux && ! $PROMPT_COMMAND =~ _update_ps1 ]]; then
|
||||||
PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
|
PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export PATH=$PATH:/home/mastermindzh/bin
|
export PATH=$PATH:/home/mastermindzh/bin
|
||||||
|
@ -41,6 +41,11 @@ declare -A MOUNTS3=(
|
|||||||
[share]='appdata'
|
[share]='appdata'
|
||||||
[mount]='appdata'
|
[mount]='appdata'
|
||||||
)
|
)
|
||||||
|
declare -A MOUNTS4=(
|
||||||
|
[server]="$MY_SERVER_LOCATION"
|
||||||
|
[share]='isos'
|
||||||
|
[mount]='isos'
|
||||||
|
)
|
||||||
|
|
||||||
# declare array with "objects"
|
# declare array with "objects"
|
||||||
declare -n MOUNTS
|
declare -n MOUNTS
|
||||||
|
@ -223,6 +223,7 @@ for_window [class="Pavucontrol"] floating enable
|
|||||||
for_window [class="Lxappearance"] floating enable
|
for_window [class="Lxappearance"] floating enable
|
||||||
for_window [class="Arandr"] floating enable
|
for_window [class="Arandr"] floating enable
|
||||||
for_window [class="Eog"] floating enable
|
for_window [class="Eog"] floating enable
|
||||||
|
for_window [title="Tidal-hifi - settings"] floating enable
|
||||||
|
|
||||||
############################################
|
############################################
|
||||||
# Workspace specific tools #
|
# Workspace specific tools #
|
||||||
|
Loading…
Reference in New Issue
Block a user