From 32779418b1ae68e5fb86832e6f40cf3eb19d0595 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Fri, 2 Feb 2024 08:32:20 -0500 Subject: Restore files excluded by dropbox with lf --- .config/lf/lfrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.config/lf') 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 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 -- cgit v1.2.3