summaryrefslogtreecommitdiff
path: root/dotfiles/common/.local
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-02-27 10:51:03 -0600
committerCraig Jennings <c@cjennings.net>2026-02-27 10:51:03 -0600
commit53ea56ccb050b4a72f7919e8ee6b9146cc816251 (patch)
tree30d179abdcf75f1d454fc86e4447ea0589c7b93a /dotfiles/common/.local
parent534826f7f32352c8d9de841e9e07cd63e8acf711 (diff)
feat(archsetup): add rustup, log-cleanup cron, update configsHEADmain
Add rustup toolchain manager to developer_workstation (before AUR packages that need rust to compile). Add log-cleanup cron job with test validation. Update ISO glob for archangel naming. Add dunst icon theme, hyprlock animations, waybar log filtering.
Diffstat (limited to 'dotfiles/common/.local')
-rwxr-xr-xdotfiles/common/.local/bin/cron/log-cleanup13
1 files changed, 13 insertions, 0 deletions
diff --git a/dotfiles/common/.local/bin/cron/log-cleanup b/dotfiles/common/.local/bin/cron/log-cleanup
new file mode 100755
index 0000000..651982c
--- /dev/null
+++ b/dotfiles/common/.local/bin/cron/log-cleanup
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+# Deletes log files older than 7 days from ~/.local/var/log
+# Services (hyprland, waybar, dunst, hypridle, gammastep) create a new
+# timestamped log file per session. Without cleanup these accumulate.
+#
+# Intended to run daily via crontab.
+
+LOG_DIR="$HOME/.local/var/log"
+
+if [ -d "$LOG_DIR" ]; then
+ find "$LOG_DIR" -name "*.log" -mtime +7 -delete
+fi