summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-01-12 21:56:36 -0500
committerLuke Smith <luke@lukesmith.xyz>2019-01-12 21:56:36 -0500
commitea294ff0acdda6cbebe593d61e8a844409ca8770 (patch)
treea379a4f02b073aaf020f6493231f98135650bdd7 /.config
parentc0b24e15dcc48c955ec357eb357645443dfd4d6e (diff)
downloadeibhear-ea294ff0acdda6cbebe593d61e8a844409ca8770.tar.gz
eibhear-ea294ff0acdda6cbebe593d61e8a844409ca8770.tar.zst
eibhear-ea294ff0acdda6cbebe593d61e8a844409ca8770.zip
muh eunuchs philosophy
Diffstat (limited to '.config')
-rwxr-xr-x.config/sxiv/exec/key-handler8
1 files changed, 2 insertions, 6 deletions
diff --git a/.config/sxiv/exec/key-handler b/.config/sxiv/exec/key-handler
index b457dd1..71aab4b 100755
--- a/.config/sxiv/exec/key-handler
+++ b/.config/sxiv/exec/key-handler
@@ -2,10 +2,7 @@
while read file
do
case "$1" in
- "w")
- cp "$file" ~/.config/wall.png &&
- setbg
- notify-send -i "$HOME/.config/wall.png" "Wallpaper changed." ;;
+ "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" ] && exit
@@ -30,7 +27,6 @@ do
notify-send "$(readlink -f "$file") copied to clipboard" & ;;
"d")
[ "$(printf "No\\nYes" | dmenu -i -p "Really delete $file?")" = "Yes" ] && rm "$file" && notify-send "$file deleted." ;;
- "G")
- gimp "$file" & ;;
+ "g") ifinstalled gimp && gimp "$file" & ;;
esac
done