diff options
author | Yaroslav <contact@yaroslavps.com> | 2020-04-02 14:39:30 +0300 |
---|---|---|
committer | Yaroslav <contact@yaroslavps.com> | 2020-04-02 14:39:30 +0300 |
commit | 07bcb021bcdf71cef93bb9c0dc09e30af6ad2f7d (patch) | |
tree | 11417d5ea12ce3abb5928d8714afaa4eb0daa6b8 /dotfiles | |
parent | 06ebba4c53dc2751a2aad1cbccb870bb7db6dc07 (diff) | |
download | swayrice-07bcb021bcdf71cef93bb9c0dc09e30af6ad2f7d.tar.gz swayrice-07bcb021bcdf71cef93bb9c0dc09e30af6ad2f7d.zip |
some more cleanup
Diffstat (limited to 'dotfiles')
-rw-r--r-- | dotfiles/.config/zsh/shortcuts | 3 | ||||
-rw-r--r-- | dotfiles/.profile | 9 |
2 files changed, 7 insertions, 5 deletions
diff --git a/dotfiles/.config/zsh/shortcuts b/dotfiles/.config/zsh/shortcuts index a47bbba..cf21f0a 100644 --- a/dotfiles/.config/zsh/shortcuts +++ b/dotfiles/.config/zsh/shortcuts @@ -2,10 +2,11 @@ # Some aliases alias v="nvim" -alias abook="abook -C $HOME/.config/abook/abookrc --datafile $HOME/Documents/contacts/addressbook" +alias abook="abook -C $HOME/.config/abook/abookrc --datafile $HOME/docs/contacts/addressbook" alias eslint="./node_modules/.bin/eslint" alias ls="ls -hN --color=auto --group-directories-first" alias tmux="tmux -f $HOME/.config/tmux/tmux.conf" +alias units="units -H ''" weath() { curl wttr.in/$1 ;} # Check the weather (give city or leave blank). corona() { curl https://corona-stats.online/$1 ;} # It's corona time wintitle() { printf "\033]2;%s\a" "$1";} diff --git a/dotfiles/.profile b/dotfiles/.profile index e683745..c35422e 100644 --- a/dotfiles/.profile +++ b/dotfiles/.profile @@ -22,12 +22,13 @@ export BROWSER=qutebrowser export XDG_CONFIG_HOME="$HOME/.config" export XDG_CACHE_HOME="$HOME/.cache" export XDG_DATA_HOME="$HOME/.local/share" -export ZDOTDIR="$HOME/.config/zsh" -export INPUTRC="$HOME/.config/zsh/inputrc" +export ZDOTDIR="$XDG_CONFIG_HOME/zsh" +export INPUTRC="$XDG_CONFIG_HOME/zsh/inputrc" export LESSHISTFILE="-" -export GTK2_RC_FILES="$HOME/.config/gtk-2.0/gtkrc-2.0" +export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc-2.0" export CARGO_HOME="$XDG_DATA_HOME/cargo" -export GNUPGNOME="$XDG_DATA_HOME/gnupg" +export RUSTUP_HOME="$XDG_DATA_HOME/rustup" +export PASSWORD_STORE_DIR="$XDG_DATA_HOME/password-store" eval "$(dircolors "$HOME/.config/dir_colors")" # Start sway automatically upon login on tty1 |