From dada2f255daaa2fb493ec8c7d47e2a8123aea494 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Mon, 26 Jan 2026 17:36:38 -0600 Subject: refactor(dotfiles): rename system/ to common/ and remove unused configs Rename dotfiles/system to dotfiles/common for clarity - indicates shared dotfiles used across all desktop environments (DWM, Hyprland). Removed config directories for uninstalled applications: - ghostty (using different terminal) - lf (using ranger instead) - mopidy (using mpd instead) - nitrogen (X11-only, obsolete for Wayland) - pychess (not installed) - JetBrains (not installed via archsetup) - youtube-dl (using yt-dlp with different config location) Kept audacious config for potential future use. Updated all references in archsetup, CLAUDE.md, todo.org, and validation.sh. Co-Authored-By: Claude Opus 4.5 --- dotfiles/system/.profile | 81 ------------------------------------------------ 1 file changed, 81 deletions(-) delete mode 100644 dotfiles/system/.profile (limited to 'dotfiles/system/.profile') diff --git a/dotfiles/system/.profile b/dotfiles/system/.profile deleted file mode 100644 index b4da79d..0000000 --- a/dotfiles/system/.profile +++ /dev/null @@ -1,81 +0,0 @@ -# .profile -# Craig Jennings -# -# Environment variables only. POSIX sh compatible. -# Sourced by login shells. Aliases and functions go in .bashrc/.zshrc. - -# Tramp compatibility - simplify prompt for Emacs remote editing -if [ "$TERM" = "tramp" ] || [ "$TERM" = "dumb" ]; then - PS1='$ ' - return 0 2>/dev/null || exit 0 -fi - -# ============================================================================= -# Locale -# ============================================================================= -export LANG=en_US.UTF-8 -export LANGUAGE=en_US.UTF-8 -export LC_CTYPE=en_US.UTF-8 -export LC_ALL=en_US.UTF-8 - -# ============================================================================= -# Path -# ============================================================================= -[ -d "$HOME/.local/share/gem/ruby/3.4.0/bin" ] && PATH="$PATH:$HOME/.local/share/gem/ruby/3.4.0/bin" -[ -d "$HOME/.cargo/bin" ] && PATH="$PATH:$HOME/.cargo/bin" -[ -d "$HOME/.deno/bin" ] && PATH="$PATH:$HOME/.deno/bin" -export PATH="$PATH:$HOME/.local/bin:/usr/sbin" - -# ============================================================================= -# Default Applications -# ============================================================================= -export ALTERNATE_EDITOR="" -export EDITOR="emacsclient -c -a ''" -export VISUAL="emacsclient -c -a ''" -export SUDO_EDITOR="vi" -export BROWSER="google-chrome-stable" -export ALTBROWSER="firefox" - -# ============================================================================= -# Terminal (X11 defaults - overridden by hyprland.sh for Wayland) -# ============================================================================= -export COLORTERM=truecolor -export TERM="st-256color" -export TERMINAL="st" - -# ============================================================================= -# XDG Base Directories -# ============================================================================= -export XDG_CONFIG_HOME="$HOME/.config" -export XDG_DATA_DIRS="${XDG_DATA_DIRS:-/usr/local/share:/usr/share}:/var/lib/flatpak/exports/share:$HOME/.local/share/flatpak/exports/share" - -# XDG_RUNTIME_DIR fallback (usually set by systemd/pam) -if [ -z "$XDG_RUNTIME_DIR" ]; then - export XDG_RUNTIME_DIR="$HOME/.local/xdg/runtime" - mkdir -p "$XDG_RUNTIME_DIR" - chmod 0700 "$XDG_RUNTIME_DIR" -fi - -# Desktop defaults (X11 - overridden by hyprland.sh for Wayland) -export XDG_CURRENT_DESKTOP=dwm -export XDG_SESSION_TYPE=x11 - -# ============================================================================= -# GPG -# ============================================================================= -export GPG_TTY="$(tty)" - -# ============================================================================= -# Emacs Info Path -# ============================================================================= -export INFOPATH="$HOME/.config/emacs/info:/usr/share/info:/usr/local/share/info" - -# ============================================================================= -# Source modular environment files from .profile.d/ -# ============================================================================= -if [ -d "$HOME/.profile.d" ]; then - for file in "$HOME/.profile.d"/*.sh; do - [ -r "$file" ] && . "$file" - done - unset file -fi -- cgit v1.2.3