Pārlūkot izejas kodu

minor tweaks

tags/v3.1
Luke Smith pirms 4 gadiem
vecāks
revīzija
55f810ef69
Šim parakstam datu bāzē netika atrasta zināma atslēga GPG atslēgas ID: 4C50B54A911F6252
2 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      bin/openfile
  2. +1
    -0
      share/mailcap

+ 1
- 1
bin/openfile Parādīt failu

@@ -1,7 +1,7 @@
#!/bin/sh

# Helps open a file with xdg-open from mutt in a external program without weird side effects.
[ $(uname) = "Darwin" ] && opener="open" || opener="setsid xdg-open"
[ "$(uname)" = "Darwin" ] && opener="open" || opener="setsid xdg-open"
mkdir -p "/tmp/$USER-mutt-tmp"
file="/tmp/$USER-mutt-tmp/$(basename "$1")"
rm -f "$file"


+ 1
- 0
share/mailcap Parādīt failu

@@ -5,3 +5,4 @@ image/*; openfile %s ;
video/*; setsid mpv --quiet %s &; copiousoutput
application/pdf; openfile %s ;
application/pgp-encrypted; gpg -d '%s'; copiousoutput;
application/pgp-keys; gpg --import '%s'; copiousoutput;

Notiek ielāde…
Atcelt
Saglabāt