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 --- .../system/.zsh/modules/Config/uninstallfns.sh | 59 ---------------------- 1 file changed, 59 deletions(-) delete mode 100755 dotfiles/system/.zsh/modules/Config/uninstallfns.sh (limited to 'dotfiles/system/.zsh/modules/Config/uninstallfns.sh') diff --git a/dotfiles/system/.zsh/modules/Config/uninstallfns.sh b/dotfiles/system/.zsh/modules/Config/uninstallfns.sh deleted file mode 100755 index 7c22388..0000000 --- a/dotfiles/system/.zsh/modules/Config/uninstallfns.sh +++ /dev/null @@ -1,59 +0,0 @@ -#!/bin/sh - -fndir=$DESTDIR$fndir -scriptdir=$DESTDIR$scriptdir - -allfuncs="`grep ' functions=' ${dir_top}/config.modules | - sed -e '/^#/d' -e '/ link=no/d' -e 's/^.* functions=//'`" - -allfuncs="`cd ${sdir_top}; echo ${allfuncs}`" - -case $fndir in - *$VERSION*) - # Version specific function directory, safe to remove completely. - rm -rf $fndir - ;; - *) # The following will only apply with a custom install directory - # with no version information. This is rather undesirable. - # But let's try and do the best we can. - # We now have a list of files, but we need to use `test -f' to check - # (1) the glob got expanded (2) we are not looking at directories. - for file in $allfuncs; do - case $file in - Scripts/*) - ;; - *) - if test -f $sdir_top/$file; then - if test x$FUNCTIONS_SUBDIRS != x -a x$FUNCTIONS_SUBDIRS != xno; then - file=`echo $file | sed -e 's%%^(Functions|Completion)/%'` - rm -f $fndir/$file - else - bfile="`echo $file | sed -e 's%^.*/%%'`" - rm -f "$fndir/$bfile" - fi - fi - ;; - esac - done - ;; -esac - -case $scriptdir in - *$VERSION*) - # $scriptdir might be the parent of fndir. - rm -rf $scriptdir - ;; - *) for file in $allfuncs; do - case $file in - Scripts/*) - if test -f $sdir_top/$file; then - bfile="`echo $file | sed -e 's%^.*/%%'`" - rm -f "$scriptdir/$bfile" - fi - ;; - esac - done - ;; -esac - -exit 0 -- cgit v1.2.3