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/cron/README.md | 11 ----------- dotfiles/system/.local/bin/cron/checkup | 17 ----------------- dotfiles/system/.local/bin/cron/crontog | 6 ------ 3 files changed, 34 deletions(-) delete mode 100644 dotfiles/system/.local/bin/cron/README.md delete mode 100755 dotfiles/system/.local/bin/cron/checkup delete mode 100755 dotfiles/system/.local/bin/cron/crontog (limited to 'dotfiles/system/.local/bin/cron') diff --git a/dotfiles/system/.local/bin/cron/README.md b/dotfiles/system/.local/bin/cron/README.md deleted file mode 100644 index fa0c354..0000000 --- a/dotfiles/system/.local/bin/cron/README.md +++ /dev/null @@ -1,11 +0,0 @@ -# Important Note - -These cronjobs have components that require information about your current display to display notifications correctly. - -When you add them as cronjobs, I recommend you precede the command with commands as those below: - -``` -export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u $USER)/bus; export DISPLAY=:0; . $HOME/.zprofile; then_command_goes_here -``` - -This ensures that notifications will display, xdotool commands will function and environmental variables will work as well. diff --git a/dotfiles/system/.local/bin/cron/checkup b/dotfiles/system/.local/bin/cron/checkup deleted file mode 100755 index bd3c634..0000000 --- a/dotfiles/system/.local/bin/cron/checkup +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -# Syncs repositories and downloads updates, meant to be run as a cronjob. - -notify-send "📦 Repository Sync" "Checking for package updates..." - -sudo pacman -Syyuw --noconfirm || notify-send "Error downloading updates. - -Check your internet connection, if pacman is already running, or run update manually to see errors." -pkill -RTMIN+8 "${STATUSBAR:-dwmblocks}" - -if pacman -Qu | grep -v "\[ignored\]" -then - notify-send "🎁 Repository Sync" "Updates available. Click statusbar icon (📦) for update." -else - notify-send "📦 Repository Sync" "Sync complete. No new packages for update." -fi diff --git a/dotfiles/system/.local/bin/cron/crontog b/dotfiles/system/.local/bin/cron/crontog deleted file mode 100755 index 5aba5e6..0000000 --- a/dotfiles/system/.local/bin/cron/crontog +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -# Toggles all cronjobs off/on. -# Stores disabled crontabs in ~/.consaved until restored. - -([ -f "${XDG_CONFIG_HOME:-$HOME/.config}"/cronsaved ] && crontab - < "${XDG_CONFIG_HOME:-$HOME/.config}"/cronsaved && rm "${XDG_CONFIG_HOME:-$HOME/.config}"/cronsaved && notify-send "🕓 Cronjobs re-enabled.") || ( crontab -l > "${XDG_CONFIG_HOME:-$HOME/.config}"/cronsaved && crontab -r && notify-send "🕓 Cronjobs saved and disabled.") -- cgit v1.2.3