diff options
author | Luke Smith <luke@lukesmith.xyz> | 2018-11-06 15:08:23 -0500 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2018-11-06 15:08:23 -0500 |
commit | 26c0df4511461c2062784531458b6b84ea73e6b0 (patch) | |
tree | bd71443aa4e431a002d1a4b1ce57334f68b9604a /etc/htmlopen.sh | |
parent | f0abb7190ab74155a344f31812330ca2aa9a855a (diff) |
more general openfile script
Diffstat (limited to 'etc/htmlopen.sh')
-rwxr-xr-x | etc/htmlopen.sh | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/etc/htmlopen.sh b/etc/htmlopen.sh deleted file mode 100755 index f6676e7..0000000 --- a/etc/htmlopen.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -# Helps open an HTML file from mutt in a GUI browser without weird side effects. - -file=$(mktemp -u --suffix=.html) - -rm -f "$file" - -cp "$1" "$file" - -setsid firefox "$file" >/dev/null 2>&1 & |