diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-05-15 13:13:14 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-05-15 13:13:14 +0900 |
| commit | 11770864ef916b6ebf76e213463f8df810a790d6 (patch) | |
| tree | 25d08c05852dfc96457aa92b5b85047909010104 /ar/.config/lf/lfrc | |
| parent | 7bab6f2679c40340afa3839f25b32ce3acb3014f (diff) | |
modified lf/lfrc
Diffstat (limited to 'ar/.config/lf/lfrc')
| -rw-r--r-- | ar/.config/lf/lfrc | 16 |
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 |
