small pixel drawing of a pufferfish dotfiles

Add nostromo filesz
j3s j3s@cyberia.club
Sun, 01 Dec 2019 16:00:19 -0600
commit

b0215c367c0f68d619ebea370a7f5cabc273b96a

parent

6c6b5cd5dd85c612db8caae4a724edcfd5b2a464

3 files changed, 24 insertions(+), 0 deletions(-)

jump to
A bin/nostromo/pastesrv

@@ -0,0 +1,4 @@

+#!/bin/sh + +ssh c3f.net "cat > /usr/share/nginx/paste/$1" +echo "https://p.c3f.net/$1"
A bin/nostromo/scr

@@ -0,0 +1,7 @@

+#!/bin/sh + +if [ "$1" = "" ]; then + grim -g "$(slurp)" "$HOME/pix/ss/$(date +%s).png" +elif [ "$1" = "stdout" ]; then + grim -g "$(slurp)" -t png - +fi
A bin/nostromo/taste

@@ -0,0 +1,13 @@

+for fgbg in $(seq 38 48) ; do # Foreground / Background + for color in $(seq 238 255) ; do # Colors + # Display the color + printf "\e[${fgbg};5;%sm %3s \e[0m" $color $color + # Display 6 colors per lines + if [ $((($color + 1) % 6)) == 4 ] ; then + echo # New line + fi + done + echo # New line +done + +exit 0