this repo has no description
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

Attempt colors

Signed-off-by: Anirudh Oppiliappan <x@icyphox.sh>

+10 -9
+1 -1
example/1-hi.txt
··· 1 1 HI THERE 2 2 3 - Welcome to shlide. Here are a few bullet points: 3 + Welcome to $CYNshlide$RST. Here are a few bullet points: 4 4 5 5 - first point 6 6 - second point
+9 -8
shlide
··· 5 5 6 6 # Color definitions 7 7 8 - #BLK="\e[30m" 9 - #RED="\e[31m" 10 - #GRN="\e[32m" 11 - #YLW="\e[33m" 12 - #BLU="\e[34m" 13 - #PUR="\e[35m" 14 - #CYN="\e[36m" 8 + BLK="\e[30m" 9 + RED="\e[31m" 10 + GRN="\e[32m" 11 + YLW="\e[33m" 12 + BLU="\e[34m" 13 + PUR="\e[35m" 14 + CYN="\e[36m" 15 + RST="\e[0m" 15 16 16 17 lstrip() { 17 18 # See: https://github.com/dylanaraps/pure-bash-bible#strip-pattern-from-start-of-string ··· 54 55 while IFS= read -r line; do 55 56 # Print the contents of the slide file, 56 57 # line by line. 57 - printf '%s' "$line" 58 + printf "%s" "$line" 58 59 # Move down and back after each print. 59 60 printf '\e[%sD\e[B' "${#line}" 60 61 done <<< "$slide_contents"