From c30799526a302c39ba4a57415cbf6c8be73491f0 Mon Sep 17 00:00:00 2001 From: krolyxon Date: Fri, 3 Feb 2023 14:09:55 +0530 Subject: [PATCH] add nsxiv to img.desktop and lfrc --- .config/lf/lfrc | 2 +- .local/share/applications/img.desktop | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/lf/lfrc b/.config/lf/lfrc index a5bed07..cd45156 100644 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -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" diff --git a/.local/share/applications/img.desktop b/.local/share/applications/img.desktop index 42aa81e..97c0d69 100644 --- a/.local/share/applications/img.desktop +++ b/.local/share/applications/img.desktop @@ -1,4 +1,4 @@ [Desktop Entry] Type=Application Name=Image viewer -Exec=/usr/bin/sxiv -a %f +Exec=/usr/local/bin/nsxiv -a %f