summaryrefslogtreecommitdiff
path: root/.config/lf
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-02-02 08:32:20 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2024-02-02 08:32:20 -0500
commit32779418b1ae68e5fb86832e6f40cf3eb19d0595 (patch)
treec0c3ff08dc6fd45f4adab19e42406b4414e53148 /.config/lf
parent566a4da12f0831572a898e0a5adc31059c55c4b9 (diff)
Restore files excluded by dropbox with lf
Diffstat (limited to '.config/lf')
-rwxr-xr-x.config/lf/lfrc5
1 files changed, 3 insertions, 2 deletions
diff --git a/.config/lf/lfrc b/.config/lf/lfrc
index bca6fc2..bc2c0e0 100755
--- a/.config/lf/lfrc
+++ b/.config/lf/lfrc
@@ -78,7 +78,7 @@ cmd moveto ${{
for x in $fx; do
eval mv -iv \"$x\" \"$dest\"
done &&
- notify-send "🚚 File(s) moved." "File(s) moved to $dest."
+ notify-send "󰪹 File(s) moved." "File(s) moved to $dest."
}}
cmd copyto ${{
@@ -89,7 +89,7 @@ cmd copyto ${{
for x in $fx; do
eval cp -ivr \"$x\" \"$dest\"
done &&
- notify-send "📋 File(s) copied." "File(s) copies to $dest."
+ notify-send " File(s) copied." "File(s) copies to $dest."
}}
cmd setbg "$1"
@@ -143,6 +143,7 @@ map V push :!nvim<space>
map W $setsid -f $TERMINAL >/dev/null 2>&1
map Y $printf "%s" "$fx" | xclip -selection clipboard
map E $dropbox-cli exclude add "$f" && notify-send -a "ï…« Dropbox" "Excluded $f from computer"
+map R $dropbox-restore "$f"
map S $dropbox-cli sharelink "$f" | xsel -b && notify-send -a "ï…« Dropbox" "Link copied to clipboard."
# Source Bookmarks