aboutsummaryrefslogtreecommitdiff
path: root/netsurf-wrapper-file
blob: 1fc9ea0f3e20eea6ad77a02e77afdcbb5c29db9c (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

# When using netsurf to open a local file, if the file does not have a proper
# extension it is not interpreted as html. This wrapper script fixes this.
# Requires: netsurf

cp "$1" "$1.html"
netsurf "$1.html"
rm "$1.html"

Generated with cgit - Back to sebastiano.tronto.net