summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
10 daystmux: add Prefix+I / Prefix+O to cycle A- sessionsPaul Buetow
Mirrors the default Prefix+( / Prefix+) bindings but filtered to sessions whose name starts with the 'A-' agent-workload prefix. Logic lives in scripts/tmux-cycle-a-session. Amp-Thread-ID: https://ampcode.com/threads/T-019e7daf-7dbc-720d-a818-d971666b01e0 Co-authored-by: Amp <amp@ampcode.com>
10 daysUpdatePaul Buetow
11 daysfooPaul Buetow
11 daysnewPaul Buetow
14 daysrefactor: simplify gitsyncer config and improve NFS umount logicPaul Buetow
- Remove unused gitsyncer host entry for paul@t450:git - Remove 'playground' from repository list - Enhance umount logic to handle already-unmounted NFS mounts gracefully
2026-05-27wol-f3s: umount NFS filesystems on earth before shutdownPaul Buetow
Before shutting down f3s Beelink hosts (f0/f1/f2/f3), attempt to umount all NFS filesystems currently mounted on earth. NFS mounts on earth go through stunnel (127.0.0.1:2323 -> 192.168.1.138:2323 CARP VIP on f0/f1). If any mount is active and cannot be umounted, the shutdown is aborted to prevent data loss or a hung filesystem. - Add umount_nfs_mounts() that reads /proc/mounts for nfs/nfs4 types, attempts to umount each, and returns 1 if any fail - Call umount_nfs_mounts before proceeding in shutdown, shutdown-f3, and shutdown-all cases (shutdown-pis skipped: Pis do not serve NFS) - Update all comments to explain the NFS-over-stunnel architecture and the safety rationale Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-23Add random GNOME wallpaper timer via systemd user unitsPaul Buetow
2026-05-01UpdatePaul Buetow
2026-04-29tmux: avoid fish wrappers for popupsPaul Buetow
Task: z9
2026-04-08Use Raspberry Pi Pi-hole nodes in DNS toggle scriptPaul Buetow
2026-03-31immich-export: fix null nextPage causing silent exit on last pagePaul Buetow
When the API returns null for nextPage, Python's .get('nextPage','') still returns None (key exists), and print(None) yields "None" — a non-empty string. The loop then tried to fetch page "None", curl failed, and set -e killed the script silently. Use 'or ""' to coerce None to empty string. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31immich-export: fix associative array to prevent silent key dropsPaul Buetow
declare -A with inline \$() substitutions can silently drop entries in some bash versions; assign keys after declaration to ensure both accounts load. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31immich-export: download to .tmp then rename to avoid partial filesPaul Buetow
Downloads each asset to <filename>.tmp first, renaming to the final path only on success. Also cleans up stale .tmp files from aborted previous runs. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31immich-export: add two-phase discovery+download for real progress reportingPaul Buetow
The Immich search API's 'total' field only reflects the current page size, not the actual total. Fix by first paginating all pages to collect the full asset list, then downloading with accurate [X/total] progress. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31Add immich-export script to download images from Immich by date rangePaul Buetow
Exports images (no videos) from paul and albena accounts for a configurable date range via the Immich REST API, skipping already-downloaded files. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-29Add Raspberry Pi shutdown support to wol-f3s scriptPaul Buetow
Amp-Thread-ID: https://ampcode.com/threads/T-019d3931-728f-71fa-9296-5e3a40694873 Co-authored-by: Amp <amp@ampcode.com>
2026-02-22Port taskwarrior feeder from ruby to fishPaul Buetow
2026-02-22fix: route work-tagged notes to task_add instead of worklog_addPaul Buetow
Notes with 'work' tag were routed to worklog_add! which wrote a raw txt file to worktime dir, losing the +work tag. Now they go through task_add! creating a proper Taskwarrior task with +work that gets exported to worktime via taskwarrior::export. Amp-Thread-ID: https://ampcode.com/threads/T-019c85e5-1074-70cc-a6a3-9f1b68abee3d Co-authored-by: Amp <amp@ampcode.com>
2026-02-08Add pihole-dns-toggle script for FedoraPaul Buetow
Script to easily toggle Pi-hole DNS on/off for active network connections using NetworkManager. Includes OS check to ensure it only runs on Fedora. Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-07renamePaul Buetow