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/.local/bin/org-capture.sh | 159 ------------------------------ 1 file changed, 159 deletions(-) delete mode 100755 dotfiles/system/.local/bin/org-capture.sh (limited to 'dotfiles/system/.local/bin/org-capture.sh') diff --git a/dotfiles/system/.local/bin/org-capture.sh b/dotfiles/system/.local/bin/org-capture.sh deleted file mode 100755 index 1e63177..0000000 --- a/dotfiles/system/.local/bin/org-capture.sh +++ /dev/null @@ -1,159 +0,0 @@ -#!/bin/bash - -# * Defaults - -heading=" " -protocol="capture-html" -template="w" - -# * Functions - -function debug { - if [[ -n $debug ]] - then - function debug { - echo "DEBUG: $@" >&2 - } - debug "$@" - else - function debug { - true - } - fi -} -function die { - echo "$@" >&2 - exit 1 -} -function usage { - cat </{s|.*([^<]+).*|\1|i;p;q};' <<<"$html") || heading="A web page with no name" - - debug "Using heading: $heading" - -elif [[ -n $readability ]] -then - debug "Using readability" - -else - usage - echo - die "I need somethin' ta go on, Cap'n!" -fi - -# ** Check URL -# The URL shouldn't be empty - -[[ -n $url ]] || url="http://example.com" - -# ** URL-encode html - -heading=$(urlencode <<<"$heading") || die "Unable to urlencode heading." -url=$(urlencode <<<"$url") || die "Unable to urlencode URL." -html=$(urlencode <<<"$html") || die "Unable to urlencode HTML." - -# ** Send to Emacs - -emacsclient "org-protocol://$protocol?template=$template&url=$url&title=$heading&body=$html" -- cgit v1.2.3