From 01ad9de3742a330c741a9b47f999a081ad296b1c Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Mon, 18 Sep 2023 22:15:18 +0200 Subject: [mmedia] added images option --- bin/menuscripts/mmedia | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/menuscripts/mmedia b/bin/menuscripts/mmedia index f071742..bd31a58 100755 --- a/bin/menuscripts/mmedia +++ b/bin/menuscripts/mmedia @@ -13,10 +13,15 @@ case "$1" in regex='^.\+\.\(pdf\)$' dirs="$dirs $HOME/docs" viewer() { zathura "$1"; } ;; + "images") + regex='^.\+\.\(png\|avif\|jpg\)$' + dirs="$dirs $HOME/pics" + viewer() { imv "$1"; } ;; *) choice="$(cat <<-EOF | commander -d -c video pdf + images EOF )" [ "$choice" ] || exit 1 -- cgit v1.2.3