diff --git a/dot/file/bashrc b/dot/file/bashrc index 7913f26..469ec48 100644 --- a/dot/file/bashrc +++ b/dot/file/bashrc @@ -6,3 +6,4 @@ set -o vi test -r "$LOGIN" && . "$LOGIN" test -r "$SETENV" && . "$SETENV" && setenv bash +. "$HOME/.cargo/env" diff --git a/dot/file/profile b/dot/file/profile index 8e7a96c..c0669ec 100755 --- a/dot/file/profile +++ b/dot/file/profile @@ -92,6 +92,7 @@ fi export GIT="https://surdeus.su" export DEV="$HOME/dev" export PATH="$PATH:$BIN" + export PATH="$PATH:$HOME/.cargo/bin" # CLI. export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib64" @@ -129,7 +130,7 @@ fi # Programs. export KITTY_CONFIG_DIRECTORY="$ETC/kitty" export OPENER="`which-first xdg-open`" - export EDITOR=`which-first nvim vim vi ed` + export EDITOR=`which-first hx nvim vim vi ed` export VISUAL="$EDITOR" export GIT_EDITOR="$VISUAL" @@ -139,6 +140,10 @@ fi export CLI_DMENU=`which-first fzf` export CLI_FILE_MANAGER=`which-first lf` +# Xorg + export XAUTHORITY=$HOME/.Xauthority + export XINITRC=$ETC/x/xinitrc + # GUI programs. export XCOMPOSER='river' export XTERMINAL='kitty -1 --instance-group "$DISPLAY"' @@ -219,3 +224,4 @@ export SSH_TTY=$(tty) test -r "$SETENV" && . "$SETENV" && setenv profile +. "$HOME/.cargo/env" diff --git a/mimeapps.list b/mimeapps.list index 2cd8cd6..3c3824b 100644 --- a/mimeapps.list +++ b/mimeapps.list @@ -664,4 +664,5 @@ x-scheme-handler/vnd.libreoffice.cmis=libreoffice-startcenter.desktop; x-scheme-handler/vnd.libreoffice.command=libreoffice-startcenter.desktop; x-scheme-handler/vnd.sun.star.webdav=libreoffice-startcenter.desktop; x-scheme-handler/vnd.sun.star.webdavs=libreoffice-startcenter.desktop; +x-scheme-handler/tg=telegram-desktop_telegram-desktop.desktop