From 2b1e9fd47101aa02fa2bbe04c0fe5090ab6c945d Mon Sep 17 00:00:00 2001 From: TiynGER Date: Tue, 24 Mar 2020 19:21:27 +0100 Subject: [PATCH] cleaning up home because luke told me so --- .config/aliasrc | 6 ++++++ .config/profile | 45 +++++++++++++++++++++++++++++++++------------ .inputrc | 1 - .tmux.conf | 1 - 4 files changed, 39 insertions(+), 14 deletions(-) delete mode 120000 .inputrc delete mode 120000 .tmux.conf diff --git a/.config/aliasrc b/.config/aliasrc index 2640bcd..f41122e 100644 --- a/.config/aliasrc +++ b/.config/aliasrc @@ -62,6 +62,9 @@ alias sc="sc-im" # script alias scriptclear="cat typescript | perl -pe 's/\e([^\[\]]|\[.*?[a-zA-Z]|\].*?\a)//g' | col -b > typescript-processed" +# tmux +alias tmux="tmux -f $XDG_CONFIG_HOME/tmux/tmux.conf" + # nvim alias svim="sudo nvim" alias svi="sudo nvim" @@ -70,3 +73,6 @@ command -v nvim >/dev/null && alias vi="nvim" vidiff="nvim -d" # weather alias weather="curl wttr.in" + +#wget +alias wget="wget --hsts-file=$XDG_CACHE_HOME/wget-hsts" diff --git a/.config/profile b/.config/profile index 2ca2b5e..82a838e 100644 --- a/.config/profile +++ b/.config/profile @@ -3,24 +3,45 @@ # Adds `~/.local/bin` and all subdirectories to $PATH export PATH="$PATH:$(du "$HOME/.local/bin/" | cut -f2 | tr '\n' ':' | sed 's/:*$//')" -export EDITOR="nvim" -export TERMINAL="st" + +export AUDIO="mpv" export BROWSER="firefox" -export READER="zathura" +export EDITOR="nvim" export FILE="vifmrun" -export SUDO_ASKPASS="$HOME/.local/bin/tools/dmenupass" -export NOTMUCH_CONFIG="$HOME/.config/notmuch-config" -export GTK2_RC_FILES="$HOME/.config/gtk-2.0/gtkrc-2.0" -export RTV_BROWSER="firefox" -export QT_QPA_PLATFORMTHEME="qt5ct" -export ZDOTDIR="$HOME/.config/zsh" -export VIDEO="mpv" -export AUDIO="mpv" -export TABLE="sc-im" export IMAGE="sxiv" export LATEX="nvim" export MAIL="thunderbird" export MUSIC="ncmpcpp" +export READER="zathura" +export RTV_BROWSER="firefox" +export TABLE="sc-im" +export TERMINAL="st" +export QT_QPA_PLATFORMTHEME="qt5ct" +export VIDEO="mpv" + +export XDG_CACHE_HOME="$HOME/.cache" +export XDG_CONFIG_HOME="$HOME/.config" +export XDG_DATA_HOME="$HOME/.data" +export XDG_RUNTIME_HOME="$HOME/.tmp" + +export ANDROID_SDK_HOME="$XDG_CONFIG_HOME/android" +export GNUPGHOME="$XDG_CONFIG_HOME/gnupg" +export GRADLE_USER_HOME="$XDG_CONFIG_HOME/gradle" +export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc-2.0" +export HISTFILE="$HOME/.cache/shhistory" +export INPUTRC="$XDG_CONFIG_HOME/inputrc" +export LESSKEY="$XDG_CONFIG_HOME/less/lesskey" +export LESSHISTFILE="-" +export ncmpcpp_direcotory="-" +export NOTMUCH_CONFIG="$XDG_CONFIG_HOME/notmuch-config" +export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npm/npmrc" +export NUGET_PACKAGES="$XDG_CACHE_HOME/nugetpackages" +export PASSWORD_STORE_DIR="$XDG_DATA_HOME/pass" +export SUDO_ASKPASS="$HOME/.local/bin/tools/dmenupass" +export TMUX_TMPDIR="$XDG_RUNTIME_HOME/tmux" +export WGETRC="$XDG_CONFIG_HOME/wgetrc" +export XAUTHORITY="$XDG_RUNTIME_HOME/Xauthority" +export ZDOTDIR="$XDG_CONFIG_HOME/zsh" # less/man colors export LESS=-R diff --git a/.inputrc b/.inputrc deleted file mode 120000 index 8d57424..0000000 --- a/.inputrc +++ /dev/null @@ -1 +0,0 @@ -.config/inputrc \ No newline at end of file diff --git a/.tmux.conf b/.tmux.conf deleted file mode 120000 index 9e5901d..0000000 --- a/.tmux.conf +++ /dev/null @@ -1 +0,0 @@ -.config/tmux/tmux.conf \ No newline at end of file