commit 15167fe66b282b2be586af4a6a27617e1470a7cb
parent 2a6936f04058203606cb839e6080adb985dd39bf
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Thu,  9 Apr 2020 07:38:40 +0200
Parse man pages
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.local/bin/plumb b/.local/bin/plumb
@@ -112,10 +112,11 @@ handle_target() {
 				mpv "$t";;
 			text/html)
 				detach $BROWSER "$t";;
+			text/troff)
+				termopen mandoc -l "$t";;
 			text/*)
 				if [ "$(file -b "$t")" = "vCalendar calendar file" ]; then
 					handle_calendar_invite "$t"
-
 				else
 					termopen less "$t"
 				fi;;