Skip to content

Instantly share code, notes, and snippets.

@boringcactus
Created September 12, 2019 18:11
Show Gist options
  • Save boringcactus/18503c17b4307bb57f9dda1284410f4d to your computer and use it in GitHub Desktop.
Save boringcactus/18503c17b4307bb57f9dda1284410f4d to your computer and use it in GitHub Desktop.
transflag
#!/usr/bin/env bash
BLUE=`printf '\e[48;5;74m\e[48;2;70;194;228m'`
PINK=`printf '\e[48;5;175m\e[48;2;229;150;182m'`
WHITE=`printf '\e[48;5;255m\e[48;2;255;255;255m'`
ROW=$(printf %$(tput cols)s)
CLEAR=`tput sgr0`
echo "$BLUE$ROW"
echo "$PINK$ROW"
echo "$WHITE$ROW"
echo "$PINK$ROW"
echo "$BLUE$ROW$CLEAR"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment