diff options
| author | Craig Jennings <c@cjennings.net> | 2026-01-26 17:36:38 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-01-26 17:36:38 -0600 |
| commit | dada2f255daaa2fb493ec8c7d47e2a8123aea494 (patch) | |
| tree | 0c0eeb84bb7b6e66a2d7f41cdfd061b25f80cc14 /dotfiles/system/.local/bin/msmtp-enqueue.sh | |
| parent | d50e5955837788fc69b4d5bc74cb574b859ed31a (diff) | |
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 <noreply@anthropic.com>
Diffstat (limited to 'dotfiles/system/.local/bin/msmtp-enqueue.sh')
| -rwxr-xr-x | dotfiles/system/.local/bin/msmtp-enqueue.sh | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/dotfiles/system/.local/bin/msmtp-enqueue.sh b/dotfiles/system/.local/bin/msmtp-enqueue.sh deleted file mode 100755 index c9beaca..0000000 --- a/dotfiles/system/.local/bin/msmtp-enqueue.sh +++ /dev/null @@ -1,44 +0,0 @@ -#!/usr/bin/env sh - -QUEUEDIR=$HOME/.msmtpqueue - -# Set secure permissions on created directories and files -umask 077 - -# Change to queue directory (create it if necessary) -if [ ! -d "$QUEUEDIR" ]; then - mkdir -p "$QUEUEDIR" || exit 1 -fi -cd "$QUEUEDIR" || exit 1 - -# Create new unique filenames of the form -# MAILFILE: ccyy-mm-dd-hh.mm.ss[-x].mail -# MSMTPFILE: ccyy-mm-dd-hh.mm.ss[-x].msmtp -# where x is a consecutive number only appended if you send more than one -# mail per second. -BASE="$(date +%Y-%m-%d-%H.%M.%S)" -if [ -f "$BASE.mail" ] || [ -f "$BASE.msmtp" ]; then - TMP="$BASE" - i=1 - while [ -f "$TMP-$i.mail" ] || [ -f "$TMP-$i.msmtp" ]; do - i=$((i + 1)) - done - BASE="$BASE-$i" -fi -MAILFILE="$BASE.mail" -MSMTPFILE="$BASE.msmtp" - -# Write command line to $MSMTPFILE -echo "$@" > "$MSMTPFILE" || exit 1 - -# Write the mail to $MAILFILE -cat > "$MAILFILE" || exit 1 - -# If we are online, run the queue immediately. -# Replace the test with something suitable for your site. -#ping -c 1 -w 2 SOME-IP-ADDRESS > /dev/null -#if [ $? -eq 0 ]; then -# msmtp-runqueue.sh > /dev/null & -#fi - -exit 0 |
