Added some scripts and figlet

This commit is contained in:
2021-12-27 15:55:23 -05:00
parent 083920aa09
commit 2e012d8930
5 changed files with 26 additions and 0 deletions

1
.gitignore vendored
View File

@@ -9,3 +9,4 @@ zsh/.config/zsh/history
**/.zsh_history
**/.zsh_sessions
**/completions/*
**/.netrwhist

View File

@@ -9,6 +9,7 @@ cask_args appdir: "~/Applications", require_sha: true
# formula
brew "espanso"
brew "fd" # required for some neovim plugins
brew "figlet"
brew "git"
brew "mas"
brew "neovim"

8
scripts/.local/scripts/allfigl Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/sh
for font in /opt/homebrew/share/figlet/fonts/*.flf; do
clear
echo "FONT: $font"
figlet -f "${font}" hello
read line
done

8
scripts/.local/scripts/cmt Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
# adapted from...
# https://github.com/rwxrob/dot/blob/main/scripts/cmt
while IFS= read -r line; do
echo "${1:-#} $line"
done

8
scripts/.local/scripts/uncmt Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
# adapted from...
# https://github.com/rwxrob/dot/blob/main/scripts/ucmt
while IFS= read -r line; do
echo "${line#* }"
done