summaryrefslogtreecommitdiff
path: root/copyPhotos
diff options
context:
space:
mode:
Diffstat (limited to 'copyPhotos')
-rwxr-xr-xcopyPhotos16
1 files changed, 14 insertions, 2 deletions
diff --git a/copyPhotos b/copyPhotos
index 3f5f8c9..df07fb0 100755
--- a/copyPhotos
+++ b/copyPhotos
@@ -187,12 +187,12 @@ fi
while true
do
feh -XdF $(printf '%s\n' "${!jahre[@]}" | sort)
- read -p '"[fk]:$regex": ' s
+ read -p '"[fkm]:$regex": ' s
case "${s}" in
"")
break
;;
- "f:"*|"k:"*|"fk:"*|"kf:"*)
+ "f:"*|"k:"*|"m:"*|"fk:"*|"kf:"*|"mk:"*|"km:"*|"mf:"*|"fm:"*|"kmf:"*|"kfm:"*|"mkf:"*|"fkm:"*|"mfk:"*|"fmk:"*)
re="${s#*:}"
case "${s%%:*}" in
'f')
@@ -201,9 +201,21 @@ do
'k')
wen='Kasimir'
;;
+ 'm')
+ wen='Miranda'
+ ;;
'fk'|'kf')
wen='Friedrich und Kasimir'
;;
+ 'fm'|'mf')
+ wen='Friedrich und Miranda'
+ ;;
+ 'km'|'mk')
+ wen='Kasimir und Miranda'
+ ;;
+ 'fkm'|'fmk'|'kfm'|'mfk'|'kmf'|'mkf')
+ wen='Friedrich, Kasimir und Miranda'
+ ;;
esac
bild="$(
echo "${!daten[@]}" | \