all repos — shlide @ master

slide deck presentation tool written in pure bash

b16457ec
Use bash's builtin method for screensize

This gets rid of annoying stty errors and makes our script fully bash
only.

Signed-off-by: Anirudh Oppiliappan <x@icyphox.sh>
Anirudh Oppiliappan x@icyphox.sh
Thu, 18 Jun 2020 09:01:19 +0530
dd38d65e
Fix getting screensize on OpenBSD

OpenBSD doesn't have 'stty -F'; an alternative is to use bash's native
'checkwinsize' shell option to populate $LINES and $COLUMNS.

Signed-off-by: Anirudh Oppiliappan <x@icyphox.sh>
Anirudh Oppiliappan x@icyphox.sh
Thu, 18 Jun 2020 08:56:49 +0530
a8db45dd
Fix stty in macOS (#8)

stty on macOS uses `-f` instead of `-F`
Abin Simon abinsimon10@gmail.com
Tue, 28 Apr 2020 16:48:16 +0530

shlide

a slide deck presentation tool written in pure bash

scrot

Features

Requirements

Usage

Create a directory for your slides. Name each slide starting with a number and a hyphen, like so:

$ mkdir deck
$ touch deck/1-first-slide.txt
$ touch deck/2-another.txt

# so on

Note: Make sure to prefix the first 9 slides with a 0 (01-foo.txt, 02-bar.txt …), if you have more than 10 slides.

Finally, run:

$ shlide deck/

Controls

Formatting

Slide content can be formatted like so:

Welcome to ${GRN}shlide${RST}. ${STR}Here${RST} are a few bullet points:

- first point
- second point
    * ${ITA}sub point${RST}
    * ${BLD}another${RST} sub point

Note: Make sure to ${RST} (reset) at the end.

A full list of formatting options are below:

Colors

|Key|Effect | |-|-| | BLK | black | | RED | red | | GRN | green | | YLW | yellow | | BLU | blue | | PUR | purple | | CYN | cyan | | RST | reset |

Styles

|Key|Effect | |-|-| | BLD | bold | | DIM | dim | | ITA | italics | | UND | underline | | FLS | flashing | | REV | reverse | | INV | invert | | STR | strikethrough |

clone
git clone https://git.icyphox.sh/shlide