commit 7cf5065817ee40a3a0955dcaa00716460887d433
parent a3f578c650d7afc4793a038609a8beb8c8faacad
Author: Alex Balgavy <alex@balgavy.eu>
Date: Fri, 19 Aug 2022 10:05:54 +0200
lf: keybinding to send file(s) via QR
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/lf/lfrc b/lf/lfrc
@@ -316,6 +316,11 @@ cmd scroll_parent_down :{{
updir; down
%[ -d "$f" ] && lf -remote "send $id open"
}}
+
+cmd qrsend ${{
+ clear
+ qrcp send $fx || { clear; qrcp send --interface en0 $fx; }
+}}
# }}}
# Mappings {{{
# Mouse
@@ -435,3 +440,5 @@ map td pgp_decrypt
map ts. pgp_sign
map tsc pgp_sign_clear
map tsd pgp_sign_detach
+
+map tq qrsend