Files
activity-logger/al.sh
2026-04-18 01:24:30 +01:00

8 lines
199 B
Bash
Executable File

#!/usr/bin/bash
if [ "$TMUX" ]; then
mkdir -p ~/.history
./al | tee -a ~/.history/activity_log.csv
fi
tmux new-session -d -s activity-logger $0
tmux set-option -t activity-logger remain-on-exit on