diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2019-02-27 09:35:27 -0500 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2019-02-27 09:35:27 -0500 |
| commit | 9f2566f944a5a367bb6eb70a9e3a0412fd0f1109 (patch) | |
| tree | dc5d02852c9725946beffa9c110ff6065c7426a6 /.config/sxiv | |
| parent | 905cbe08c265aacd64706071af676e9678a57b33 (diff) | |
| download | eibhear-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-handler | 4 |
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." & ;; |
