aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config/sxiv/exec/key-handler
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-01-21 23:29:58 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-01-21 23:29:58 +0300
commite4672d66a9302f557ce26b0a418746deffe0decc (patch)
treefe1e226c629061411c9fe8de7d16e861deaff223 /dotfiles/.config/sxiv/exec/key-handler
parent64d645f2bd1d18aeefdde07621a1a4d1e07cb1cd (diff)
downloadswayrice-e4672d66a9302f557ce26b0a418746deffe0decc.tar.gz
swayrice-e4672d66a9302f557ce26b0a418746deffe0decc.zip
Friendship ended with ranger, again. lf it is now
Too many changes made, basically all of them related to lf. Sorry ranger. You're too slow 🦔.
Diffstat (limited to 'dotfiles/.config/sxiv/exec/key-handler')
-rwxr-xr-xdotfiles/.config/sxiv/exec/key-handler4
1 files changed, 2 insertions, 2 deletions
diff --git a/dotfiles/.config/sxiv/exec/key-handler b/dotfiles/.config/sxiv/exec/key-handler
index d9bad9f..17abf60 100755
--- a/dotfiles/.config/sxiv/exec/key-handler
+++ b/dotfiles/.config/sxiv/exec/key-handler
@@ -35,9 +35,9 @@ while read file; do
dir="$(dirname "$file")"
name="$(basename "$file")"
base="${name%.*}"
- mv "$file" ~/etc/temp/trash/
+ mv "$file" ~/.local/trash/
if [ "JPEG" = "$(basename $dir)" ]; then
- mv $(dirname "$dir")/"$base".NEF ~/etc/temp/trash/
+ mv $(dirname "$dir")/"$base".NEF ~/.local/trash/
fi
exit ;;
"C-comma") rotate 270 $file ;;