dotfiles

Repositório dotfiles
git clone git://git.sivaldodavi.com/dotfiles.git
Log | Files | Refs | README

commit dadd9dbdc4ccd7852489e92584a78309d52e3ac6
parent ac4faf1de9d24ff29b7b3f989c866d8a130a7e96
Author: Sivaldo <gxixtx@xsxixvxaxlxdxoxdxaxvxix.xcxoxm>
Date:   Sat,  8 Aug 2026 11:14:45 -0300

chore(profile): remove exports obsoletos, reorganiza env vars e usa /home/sivaldo/.config/shell/ashrc

Diffstat:
M.config/X11/profile | 11+++++------
M.local/bin/yt | 1-
2 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/.config/X11/profile b/.config/X11/profile @@ -20,6 +20,7 @@ export XDG_DOCUMENTS_DIR="$HOME/documents" export XDG_MUSIC_DIR="$HOME/music" export XDG_PICTURES_DIR="$HOME/pictures" export XDG_VIDEOS_DIR="$HOME/videos" +export DIR_DEV="$HOME/.local/dev" # --------------------------- # Pastas de programas @@ -29,11 +30,8 @@ export GOPATH="$XDG_DATA_HOME/go" export HISTFILE="$XDG_CACHE_HOME/ash_history" export ENV="$XDG_CONFIG_HOME/shell/ashrc" export MYVIMRC="$XDG_CONFIG_HOME/vim/vimrc" -export SSL_DIR="$XDG_DATA_HOME/pki" export NSS_DEFAULT_DB_TYPE="sql" export GIT_CONFIG_GLOBAL="$XDG_CONFIG_HOME/git/config" -export DIR_NOTES="$HOME/notes" -export DIR_DEV="$HOME/.local/dev" # --------------------------- # W3M @@ -52,19 +50,20 @@ export XDG_RUNTIME_DIR=${XDG_RUNTIME_DIR:-/tmp/$(id -u)-runtime-dir} # --------------------------- # Outros Exports # --------------------------- + +# X11 export XAUTHORITY="$XDG_CONFIG_HOME/X11/xauthority" export XINITRC="$XDG_CONFIG_HOME/x11/xinitrc" # Rust export CARGO_HOME="$HOME/.local/share/cargo" -export PATH="$CARGO_HOME/bin:$PATH" # --------------------------- -# Automatically start dwm in tty +# Iniciar o dwm automáticamente no tty # --------------------------- [ "$(tty)" = "/dev/tty1" ] && ! pidof -s Xorg >/dev/null 2>&1 && exec startx # --------------------------- # Carregar o arquivo de shell # --------------------------- -[ -f "$XDG_CONFIG_HOME/shell/ashrc" ] && . "$XDG_CONFIG_HOME/shell/ashrc" +[ -f "$ENV" ] && . "$ENV" diff --git a/.local/bin/yt b/.local/bin/yt @@ -4,7 +4,6 @@ VIDS="${XDG_VIDEOS_DIR:-$HOME/videos}" MUSC="${XDG_MUSIC_DIR:-$HOME/music}" PICS="${XDG_PICTURES_DIR:-$HOME/pictures}" - # Verificação e instalação de yt-dlp if ! command -v yt-dlp >/dev/null 2>&1; then echo "📦 'yt-dlp' não encontrado. Instalando..." >&2