From 34f2598d8dd83bd462080d88f7c65ab62ae0b88b Mon Sep 17 00:00:00 2001 From: speedie Date: Sat, 12 Nov 2022 11:32:31 +0100 Subject: [PATCH] fix: # speedwm markdown cut off --- README.md | 1 + scripts/speedwm-help | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0a81d30..f8d7485 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +# speedwm ![image](/docs/preview.png) ## What is speedwm? diff --git a/scripts/speedwm-help b/scripts/speedwm-help index b6853bd..48bfc73 100755 --- a/scripts/speedwm-help +++ b/scripts/speedwm-help @@ -53,8 +53,8 @@ ${DOCDIR}/${PREFIX}doc-08 \ ${DOCDIR}/${PREFIX}doc-09 | grep -v "!!" > /tmp/${PREFIX}doc case "$ARG1" in -"-w") tail -n $(expr $(cat /tmp/${PREFIX}doc | wc -l) "-" 1) /tmp/${PREFIX}doc > ../readme ;; -"-wmd") tail -n $(expr $(cat /tmp/${PREFIX}doc | wc -l) "-" 1) /tmp/${PREFIX}doc | \ +"-w") tail -n $(expr $(cat /tmp/${PREFIX}doc | wc -l) "-" 0) /tmp/${PREFIX}doc > ../readme ;; +"-wmd") tail -n $(expr $(cat /tmp/${PREFIX}doc | wc -l) "-" 0) /tmp/${PREFIX}doc | \ sed "s|-- speedwm --|# speedwm|g" | \ sed "s|-- What is speedwm? --|## What is speedwm?|g" | \ sed "s|-- Installation --|## Installation|g" | \