add nsxiv to img.desktop and lfrc
This commit is contained in:
parent
a3bad57a59
commit
c30799526a
|
|
@ -19,7 +19,7 @@ cmd open ${{
|
|||
image/x-xcf) setsid -f gimp $f >/dev/null 2>&1 ;;
|
||||
image/svg+xml) display -- $f ;;
|
||||
image/*) rotdir $f | grep -i "\.\(png\|jpg\|jpeg\|gif\|webp\|tif\|ico\)\(_large\)*$" |
|
||||
setsid -f sxiv -aio 2>/dev/null | while read -r file; do
|
||||
setsid -f nsxiv -aio 2>/dev/null | while read -r file; do
|
||||
[ -z "$file" ] && continue
|
||||
lf -remote "send select \"$file\""
|
||||
lf -remote "send toggle"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Image viewer
|
||||
Exec=/usr/bin/sxiv -a %f
|
||||
Exec=/usr/local/bin/nsxiv -a %f
|
||||
|
|
|
|||
Loading…
Reference in New Issue