wok-current diff pcmanfm/stuff/actions/slideshow.desktop @ rev 25278
updated reptyr (0.7.0 -> 0.9.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 18 14:55:21 2022 +0100 (2022-07-18) |
parents | cce2b600b834 |
children |
line diff
1.1 --- a/pcmanfm/stuff/actions/slideshow.desktop Thu Oct 30 01:16:39 2014 +0200 1.2 +++ b/pcmanfm/stuff/actions/slideshow.desktop Mon Jul 18 14:55:21 2022 +0100 1.3 @@ -6,26 +6,38 @@ 1.4 Profiles=viewnior_on_folder;viewnior_on_images;gpicview_on_folder;gpicview_on_images; 1.5 1.6 [X-Action-Profile viewnior_on_folder] 1.7 +# if viewnior installed 1.8 TryExec=viewnior 1.9 +# for folders only 1.10 +MimeTypes=inode/directory; 1.11 +# if folder contains *.png, *.jpg, *.jpeg, *.gif or *.svg 1.12 ShowIfTrue=test -n "$(find %f -maxdepth 1 -iname '*.png' -o -iname '*.jpg' -o -iname '*.jpeg' -iname '*.gif' -o -iname '*.svg')" 1.13 Exec=viewnior --fullscreen --slideshow %f 1.14 -MimeTypes=inode/directory; 1.15 1.16 [X-Action-Profile viewnior_on_images] 1.17 +# if viewnior installed 1.18 TryExec=viewnior 1.19 +# for any type of images 1.20 +MimeTypes=image/*; 1.21 +# if few images selected 1.22 +SelectionCount=>1 1.23 Exec=viewnior --fullscreen --slideshow %F 1.24 -MimeTypes=image/*; 1.25 -SelectionCount=>1 1.26 1.27 [X-Action-Profile gpicview_on_folder] 1.28 +# if gpicview installed 1.29 TryExec=gpicview 1.30 +# for folders only 1.31 +MimeTypes=inode/directory; 1.32 +# if folder contains *.png, *.jpg, *.jpeg, *.gif or *.svg 1.33 ShowIfTrue=test -n "$(find %f -maxdepth 1 -iname '*.png' -o -iname '*.jpg' -o -iname '*.jpeg' -iname '*.gif' -o -iname '*.svg')" 1.34 Exec=gpicview --slideshow %f 1.35 -MimeTypes=inode/directory; 1.36 1.37 [X-Action-Profile gpicview_on_images] 1.38 +# if gpicview installed 1.39 TryExec=gpicview 1.40 +# for any type of images 1.41 +MimeTypes=image/*; 1.42 +# if few images selected 1.43 +SelectionCount=>1 1.44 #Bug: gpicview shows other images after selected 1.45 Exec=gpicview --slideshow %F 1.46 -MimeTypes=image/*; 1.47 -SelectionCount=>1