From a73acb9b474ce77af4bc54657d32bd2714ce53ec Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Mon, 28 Jun 2021 12:22:48 +0200 Subject: Cleanup binaries --- i3/bin/setbg-texample | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100755 i3/bin/setbg-texample (limited to 'i3/bin/setbg-texample') diff --git a/i3/bin/setbg-texample b/i3/bin/setbg-texample deleted file mode 100755 index c1968a5..0000000 --- a/i3/bin/setbg-texample +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/bash - -SCR_WIDTH=1980 -SCR_HEIGHT=1080 -PADDING=50 -FONT_SIZE=20 - -CURL="curl -s" - -# Test internet -timeout 4 wget -q --spider http://texample.net || setbg-backup || exit 1 - -let "SCR_WIDTH -= 2 * $PADDING" -let "SCR_WIDTH /= 2" -let "SCR_HEIGHT -= 2 * $PADDING" - -PAGE=$RANDOM; let "PAGE %= 22"; let "PAGE += 1" - -echo "TeXample page: http://texample.net/tikz/examples/all/?page=$PAGE" - -# Fetch list of texamples -cd /tmp -$CURL -o texample.html "http://texample.net/tikz/examples/all/?page=$PAGE" || setbg-backup || exit 1 - -EXAMPLES="$(grep '^