diff --git a/.config/aliasrc b/.config/aliasrc index cbc234a..7a63191 100644 --- a/.config/aliasrc +++ b/.config/aliasrc @@ -109,4 +109,4 @@ alias yay="yay --sudoloop --noredownload --norebuild" # youtube-dl alias yta="youtube-dl -f 'bestaudio[ext=m4a]'" -alias yta="youtube-dl -f 'bestvide[ext=mp4]+bestaudio[ext=m4a]'" +alias ytv="youtube-dl -f 'bestvide[ext=mp4]+bestaudio[ext=m4a]'" diff --git a/.config/zathura/zathurarc b/.config/zathura/zathurarc index 9fa50ca..14f3a2d 100644 --- a/.config/zathura/zathurarc +++ b/.config/zathura/zathurarc @@ -1,8 +1,8 @@ set statusbar-h-padding 0 set statusbar-v-padding 0 set page-padding 1 -map u scroll half-up -map d scroll half-down +map u scroll full-up +map d scroll full-down map D toggle_page_mode map r reload map R rotate diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index b90886a..56c583b 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -141,4 +141,7 @@ if [[ -n "$PS1" ]] && [[ -z "$TMUX" ]] && [[ -n "$SSH_CONNECTION" ]]; then tmux attack-session -t $USER || tmux new-session -s $USER fi +# python +#eval "$(pyenv init -)" + pfetch diff --git a/.profile b/.profile index 2f22505..e6ec532 100644 --- a/.profile +++ b/.profile @@ -3,11 +3,6 @@ # Adds `~/.local/bin` and all subdirectories to $PATH export PATH="${PATH}:$(du "${HOME}/.local/bin/" | cut -f2 | tr '\n' ':' | sed 's/:*$//')" -export PATH="${HOME}/.nimble/bin:${PATH}" -export PATH="${HOME}/.pyenv/bin:${PATH}" -export PATH="${GOBIN}:${PATH}" -eval "$(pyenv init -)" -eval "$(pyenv virtualenv-init -)" export BROWSER="firefox" export RTV_BROWSER="qutebrowser" @@ -18,7 +13,6 @@ export READER="zathura" export STATUSBAR="dwmblocks" export TERMINAL="st" export QT_QPA_PLATFORMTHEME="qt5ct" -export JAVA_HOME="/usr/lib/jvm/java-11-openjdk" export XDG_CACHE_HOME="${HOME}/.cache" export XDG_CONFIG_HOME="${HOME}/.config" @@ -26,8 +20,6 @@ export XDG_DATA_HOME="${HOME}/.local/share" export ANDROID_SDK_HOME="${XDG_CONFIG_HOME}/android" export GNUPGHOME="${XDG_CONFIG_HOME}/gnupg" -export GOPATH="${HOME}/code/go" -export GOBIN="${GOPATH}/bin" export GRADLE_USER_HOME="${XDG_CONFIG_HOME}/gradle" export GTK2_RC_FILES="${XDG_CONFIG_HOME}/gtk-2.0/gtkrc-2.0" export HISTFILE="${XDG_CACHE_HOME}/shhistory" @@ -45,8 +37,24 @@ export SUDO_ASKPASS="${HOME}/.local/bin/tools/dmenupass" export TMUX_TMPDIR="${XDG_CACHE_HOME}/tmux" export WGETRC="${XDG_CONFIG_HOME}/wgetrc" export ZDOTDIR="${XDG_CONFIG_HOME}/zsh" + +# java +export JAVA_HOME="/usr/lib/jvm/java-11-openjdk" export _JAVA_AWT_WM_NONREPARENTING=1 +# golang +export GOPATH="${HOME}/code/go" +export GOBIN="${GOPATH}/bin" +export PATH="${GOBIN}:${PATH}" + +# nim +export PATH="${HOME}/.nimble/bin:${PATH}" + +# python +export PYENV_ROOT="$HOME/.pyenv" +export PATH="$PYENV_ROOT/bin:$PATH" +#eval "$(pyenv init --path)" + # less/man colors export LESS=-R export LESS_TERMCAP_mb="$(printf '%b' '')"; a="${a%_}" @@ -57,6 +65,7 @@ export LESS_TERMCAP_se="$(printf '%b' '')"; a="${a%_}" export LESS_TERMCAP_us="$(printf '%b' '')"; a="${a%_}" export LESS_TERMCAP_ue="$(printf '%b' '')"; a="${a%_}" +# set sources according to used shell echo "$0" | grep "bash$" >/dev/null && [ -f ~/.bashrc ] && source "${HOME}/.bashrc" echo "$0" | grep "zsh$" >/dev/null && [ -f ${ZDOTDIR}/.zshrc ] && source "${ZDOTDIR}/.zshrc"