Compare commits

...

2 Commits

Author SHA1 Message Date
yosh f6f454e2bd eval -> exec sh -c 2023-07-20 18:14:57 -05:00
yosh 5d3e322b47 new paths for default image places 2023-07-20 18:14:49 -05:00
3 changed files with 4 additions and 4 deletions

2
ffrec
View File

@ -1,7 +1,7 @@
#!/bin/sh
set -eu
OUTFILE="$HOME/Pictures/Screenshots/$(date +"%Y-%m-%d_%H-%M-%S").mp4"
OUTFILE="$HOME/pics/screenshots/$(date +"%Y-%m-%d_%H-%M-%S").mp4"
LOCKFILE="/tmp/ffrec.pid"
[ -s "$LOCKFILE" ] && xargs kill < "$LOCKFILE" && notify-send "Recording saved to $OUTFILE" && rm -f "$LOCKFILE" && exit 0

View File

@ -9,6 +9,6 @@ cmd="$(IFS=':'; find $PATH \( -type f -o -type l \) | awk -F '/' '{print $NF}' |
case "$cmd" in
''|'!') exit 1 ;;
*'!') exec "${TERMINAL:-urxvt}" -e sh -c 'exec '"${cmd%!}" & ;;
*) eval "exec $cmd" & ;;
*'!') exec "${TERMINAL:-urxvt}" -e sh -c 'exec '"${cmd%!}" ;;
*) exec sh -c "exec $cmd" ;;
esac

View File

@ -1,7 +1,7 @@
#!/bin/sh
set -ef
OUTFILE="$HOME/Pictures/Screenshots/$(date +"%Y-%m-%d_%H-%M-%S").jxl" # output file template, change as needed
OUTFILE="$HOME/pics/screenshots/$(date +"%Y-%m-%d_%H-%M-%S").jxl" # output file template, change as needed
MENU="fzfmenu"
CATBOX_USERHASH="" # catbox userhash
BASEIFS=$IFS