Update 2024-02-14 07:51 OpenBSD/amd64-x13
This commit is contained in:
15
.bin/OLD/KAPUTT/shotwell_notify.sh
Executable file
15
.bin/OLD/KAPUTT/shotwell_notify.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
while true;
|
||||
do
|
||||
FILES=$(ls -1 | grep -v shotwell | grep -vi xmp | grep -vi jpg | wc -l | awk '{ print $1 }')
|
||||
THUMBS=$(ls -1 | grep shotwell | grep -vi "xmp\|jpg\|jpeg" | wc -l | awk '{ print $1 }')
|
||||
OUT="T: $THUMBS | F: $FILES"
|
||||
printf "$OUT\n"
|
||||
if [ "$FILES" == "$THUMBS" ];
|
||||
then notify-send "Shotwell Import Finished: ${PWD##*/} $OUT"
|
||||
printf "${PWD##*/}" | xclip -r
|
||||
exit 0
|
||||
fi
|
||||
sleep 5
|
||||
done
|
||||
Reference in New Issue
Block a user