diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2024-02-02 08:32:20 -0500 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2024-02-02 08:32:20 -0500 |
commit | 32779418b1ae68e5fb86832e6f40cf3eb19d0595 (patch) | |
tree | c0c3ff08dc6fd45f4adab19e42406b4414e53148 /.config/lf/lfrc | |
parent | 566a4da12f0831572a898e0a5adc31059c55c4b9 (diff) |
Restore files excluded by dropbox with lf
Diffstat (limited to '.config/lf/lfrc')
-rwxr-xr-x | .config/lf/lfrc | 5 |
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 |