allow override of screenshot/screenrecord output

This commit is contained in:
Ben Homan
2025-07-24 11:39:12 -04:00
parent a4e7f41798
commit 70da2ecbe8
2 changed files with 6 additions and 2 deletions

View File

@ -2,8 +2,10 @@
# Set recorder based on GPU
OUTPUT_DIR="${OMARCHY_SCREENRECORD_DIR:-$HOME/Videos}"
screenrecording() {
filename="$HOME/Videos/screenrecording-$(date +'%Y-%m-%d_%H-%M-%S').mp4"
filename="$OUTPUT_DIR/screenrecording-$(date +'%Y-%m-%d_%H-%M-%S').mp4"
notify-send "Screen recording starting..." -t 1000
sleep 1