summaryrefslogtreecommitdiff
path: root/ar/.config
diff options
context:
space:
mode:
Diffstat (limited to 'ar/.config')
-rw-r--r--ar/.config/lf/lfrc16
1 files changed, 13 insertions, 3 deletions
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