summaryrefslogtreecommitdiffstats
path: root/.config/sxiv
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-02-27 09:35:27 -0500
committerLuke Smith <luke@lukesmith.xyz>2019-02-27 09:35:27 -0500
commit9f2566f944a5a367bb6eb70a9e3a0412fd0f1109 (patch)
treedc5d02852c9725946beffa9c110ff6065c7426a6 /.config/sxiv
parent905cbe08c265aacd64706071af676e9678a57b33 (diff)
downloadeibhear-9f2566f944a5a367bb6eb70a9e3a0412fd0f1109.tar.gz
eibhear-9f2566f944a5a367bb6eb70a9e3a0412fd0f1109.tar.zst
eibhear-9f2566f944a5a367bb6eb70a9e3a0412fd0f1109.zip
key handler bm fix
Diffstat (limited to '.config/sxiv')
-rwxr-xr-x.config/sxiv/exec/key-handler4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/sxiv/exec/key-handler b/.config/sxiv/exec/key-handler
index 71aab4b..11050ea 100755
--- a/.config/sxiv/exec/key-handler
+++ b/.config/sxiv/exec/key-handler
@@ -4,12 +4,12 @@ do
case "$1" in
"w") setbg "$file" & ;;
"c")
- [ -z "$destdir" ] && destdir="$(sed "s/\s.*#.*$//;/^\s*$/d" ~/.bmdirs | awk '{print $2}' | dmenu -l 20 -i -p "Copy file(s) to where?" | sed "s|~|$HOME|g")"
+ [ -z "$destdir" ] && destdir="$(sed "s/\s.*#.*$//;/^\s*$/d" ~/.config/bmdirs | awk '{print $2}' | dmenu -l 20 -i -p "Copy file(s) to where?" | sed "s|~|$HOME|g")"
[ -z "$destdir" ] && exit
cp "$file" "$destdir" && notify-send -i "$(readlink -f "$file")" "$file copied to $destdir." &
;;
"m")
- [ -z "$destdir" ] && destdir="$(sed "s/\s.*#.*$//;/^\s*$/d" ~/.bmdirs | awk '{print $2}' | dmenu -l 20 -i -p "Move file(s) to where?" | sed "s|~|$HOME|g")"
+ [ -z "$destdir" ] && destdir="$(sed "s/\s.*#.*$//;/^\s*$/d" ~/.config/bmdirs | awk '{print $2}' | dmenu -l 20 -i -p "Move file(s) to where?" | sed "s|~|$HOME|g")"
[ -z "$destdir" ] && exit
mv "$file" "$destdir" && notify-send -i "$(readlink -f "$file")" "$file moved to $destdir." &
;;