summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/Makefile2
-rw-r--r--bin/html.sh5
-rw-r--r--bin/style.sed15
3 files changed, 2 insertions, 20 deletions
diff --git a/bin/Makefile b/bin/Makefile
index c35e1c8f..1508a43b 100644
--- a/bin/Makefile
+++ b/bin/Makefile
@@ -121,7 +121,7 @@ WEBROOT = /usr/local/www/causal.agency
 html: $(HTMLS)
 	@true
 
-$(HTMLS): html.sh style.sed hi scheme ttpre
+$(HTMLS): ttpre hi html.sh
 
 .SUFFIXES: .html
 
diff --git a/bin/html.sh b/bin/html.sh
index 8f4e3887..cb7f1a66 100644
--- a/bin/html.sh
+++ b/bin/html.sh
@@ -6,11 +6,8 @@ readonly GiteaURL='https://code.causal.agency/june/src/src/branch/master/bin'
 src=$1
 man=${2:-}
 
-./hi -f html -o document,tab=4 -n "${src}" /dev/null | sed -e '/<pre/d'
+./hi -f html -o document,tab=4 -n "${src}" /dev/null | sed '/<pre/d'
 cat <<- EOF
-	<style>
-	$(./scheme -s | sed -f style.sed)
-	</style>
 	<code><a href="${GiteaURL}/${src}">${src} in git</a></code>
 EOF
 [ -f "${man}" ] && man -P cat "${PWD}/${man}" | ./ttpre
diff --git a/bin/style.sed b/bin/style.sed
deleted file mode 100644
index b1fbde63..00000000
--- a/bin/style.sed
+++ /dev/null
@@ -1,15 +0,0 @@
-s/[.]bg0/html, &/
-s/[.]fg15/html, &/
-s/[.]fg12/a, &/
-s/[.]fg13/a:visited, &/
-
-s/[.]fg7/.hi.Keyword, &/
-s/[.]fg2/.hi.Macro, &/
-s/[.]fg11/.hi.Tag:focus, &/
-s/[.]fg6/.hi.String, &/
-s/[.]fg14/.hi.Format, &/
-s/[.]fg3/.hi.Interp, &/
-s/[.]fg4/.hi.Comment, &/
-s/[.]fg12/.hi.Todo, &/
-s/[.]fg1 /.hi.DiffOld, &/
-s/[.]fg2/.hi.DiffNew, &/
03-08Add The Stone SkyJune McEnroe 2020-03-08Publish "How I Relay Chat"June McEnroe 2020-03-03Don't use $ inside $(())June McEnroe 2020-03-03Remove setoptJune McEnroe 2020-03-03Use getopts in shell scriptsJune McEnroe WTF why did no one tell me about this? 2020-02-27Style %T outside of Rs in italicJune McEnroe 2020-02-26Add Fierce Femmes and Notorious LiarsJune McEnroe 2020-02-23Add This Is How You Lose the Time WarJune McEnroe 2020-02-22Add See Ya LaterJune McEnroe 2020-02-20Remove wiki scriptJune McEnroe Wikipedia seems to have removed the one-sentence extracts from the opensearch results. Too bad. It's not a wiki script, what we need is a command that fetches single-sentence summaries of articles on Wikipedia. 2020-02-19Add The Obelisk GateJune McEnroe 2020-02-17Add Four Tet — HandsJune McEnroe One from the cafe that caught my attention. 2020-02-12Simplify macOS notify-sendJune McEnroe 2020-02-12Add imbox and notemap to pageJune McEnroe 2020-02-12Collapse simple linksJune McEnroe 2020-02-12Move catgirl up the pageJune McEnroe 2020-02-12Update catgirl pty grabJune McEnroe 2020-02-12Link to cgit /about pages where appropriateJune McEnroe 2020-02-11Separate LINKS from BINS for html to workJune McEnroe 2020-02-11Add margin to Bl-bullet itemsJune McEnroe 2020-02-10Match URLs inside parens or with paired parens insideJune McEnroe 2020-02-10Duplicate effective URL before passing it back to curlJune McEnroe Apparently sometimes it didn't like receiving its own internal storage to parse again. Understandable. 2020-02-09Add To Be Taught, If FortunateJune McEnroe 2020-02-04Add The Future of Another TimelineJune McEnroe Wow. One of the best I've read. 2020-01-31Reorganize the Makefile for the umpteenth timeJune McEnroe Broke out LDLIBS for each bin, and made everything more uniform. 2020-01-28Change scout sensitivity to 1.4June McEnroe idk it seems to work. 2020-01-28Import shows.txtJune McEnroe