aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkatherine <shmibs@shmibbles.me>2016-03-26 12:54:55 -0700
committerkatherine <shmibs@shmibbles.me>2016-03-26 12:54:55 -0700
commit1598adeb733ec668fa90f6345f11cdca581070de (patch)
tree161f2188647ec197c38a9f48aade47948e80c9c0
parent2ced03ad83e356ff882a00f8dcfc999237d4f117 (diff)
downloaddotfiles-1598adeb733ec668fa90f6345f11cdca581070de.tar.gz
clean send wrappers
too lazy to write an actual description; it's, like two lines
-rw-r--r--.config/ranger/rifle.conf2
-rwxr-xr-x.config/sxiv/exec/key-handler2
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