diff options
author | katherine <shmibs@shmibbles.me> | 2016-03-26 12:54:55 -0700 |
---|---|---|
committer | katherine <shmibs@shmibbles.me> | 2016-03-26 12:54:55 -0700 |
commit | 1598adeb733ec668fa90f6345f11cdca581070de (patch) | |
tree | 161f2188647ec197c38a9f48aade47948e80c9c0 | |
parent | 2ced03ad83e356ff882a00f8dcfc999237d4f117 (diff) | |
download | dotfiles-1598adeb733ec668fa90f6345f11cdca581070de.tar.gz |
clean send wrappers
too lazy to write an actual description; it's, like two lines
-rw-r--r-- | .config/ranger/rifle.conf | 2 | ||||
-rwxr-xr-x | .config/sxiv/exec/key-handler | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.config/ranger/rifle.conf b/.config/ranger/rifle.conf index b1bea0d..00969c1 100644 --- a/.config/ranger/rifle.conf +++ b/.config/ranger/rifle.conf @@ -175,5 +175,5 @@ label editor, !mime ^text, !ext xml|csv|tex|py|pl|rb|sh|php = "$EDITOR" -- "$@" label editor, !mime ^text, !ext xml|csv|tex|py|pl|rb|sh|php, has urxvt, X, flag f = "urxvt" "-e" "$EDITOR" "$@" # Send to server & copy to clipboard -has send, X, flag f = send "$@" +has send, X = send "$@" diff --git a/.config/sxiv/exec/key-handler b/.config/sxiv/exec/key-handler index 31d2e70..2735e41 100755 --- a/.config/sxiv/exec/key-handler +++ b/.config/sxiv/exec/key-handler @@ -35,7 +35,7 @@ case "$1" in notify-send "sxiv: send to /tmp/ failed" else if [[ ${#files} -eq 1 ]]; then - notify-send "sxiv: sent ${files} to /tmp/" + notify-send "sxiv: sent ${files:t} to /tmp/" else notify-send "sxiv: sent ${#files} images to /tmp/" fi |