This commit is contained in:
odrling 2019-05-02 03:03:37 +02:00
parent 10f1e35f0d
commit a5f4293969
2 changed files with 15 additions and 0 deletions

12
.config/sxiv/exec/key-handler Executable file
View file

@ -0,0 +1,12 @@
#!/bin/sh
while read file
do
case "$1" in
"y")
mime=$(file -b --mime-type "$file")
wl-copy -t "$mime" < "$file";;
"Y")
cp "$file" /tmp;;
esac
done

3
.gitignore vendored
View file

@ -86,3 +86,6 @@ Cache
# neofetch
!/.config/neofetch
# sxiv
!/.config/sxiv