From 11770864ef916b6ebf76e213463f8df810a790d6 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Fri, 15 May 2026 13:13:14 +0900 Subject: modified lf/lfrc --- ar/.config/lf/lfrc | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'ar/.config') diff --git a/ar/.config/lf/lfrc b/ar/.config/lf/lfrc index 0fda475..87b1858 100644 --- a/ar/.config/lf/lfrc +++ b/ar/.config/lf/lfrc @@ -203,14 +203,24 @@ cmd restore_trash ${{ }} # Drag & Drop -cmd dragon &dragon-drop -a -x $fx -cmd dragon-stay &dragon-drop -a $fx -cmd dragon-individual &dragon-drop $fx +cmd dragon &{{ + dragon-drop -a -x $fx + lf -remote "send $id :unselect; save-select" +}} +cmd dragon-stay &{{ + dragon-drop -a $fx + lf -remote "send $id :unselect; save-select" +}} +cmd dragon-individual &{{ + dragon-drop $fx + lf -remote "send $id :unselect; save-select" +}} cmd dragon-target ${{ out=$(dragon-drop -t -x) [ -n "$out" ] && printf "%s\n" "$out" | while IFS= read -r src; do [ -e "$src" ] && cp -ivr "$src" "$PWD" done + lf -remote "send $id :unselect; save-select" }} # File Manager -- cgit v1.2.3