From 6492ba6b4107a4da228e18db4fc5fc871bfb0579 Mon Sep 17 00:00:00 2001 From: epoch Date: Wed, 17 Aug 2022 21:34:02 -0500 Subject: updated README to show that everything that got deleted went to an -extras repo. also, hackvr script updated to be better bash --- share/hackvr/examples/marquee/marquee.sh | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100755 share/hackvr/examples/marquee/marquee.sh (limited to 'share/hackvr/examples/marquee/marquee.sh') diff --git a/share/hackvr/examples/marquee/marquee.sh b/share/hackvr/examples/marquee/marquee.sh deleted file mode 100755 index 4ea6c61..0000000 --- a/share/hackvr/examples/marquee/marquee.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/bash -set -o pipefail - -pi=3 #lol - -from_cam=150 - -elevation=10 -while printf "marquee rotate 0 +-2 0\n";do - sleep .1 -done & - -tail -F ~/.local/var/cache/music/nowplaying.txt 2>/dev/null | while read -r line;do - printf "%s deleteallexcept %s\n" "$USER" "$USER" - printf "nowplaying flatten\n" - printf "%s\n" "$line" >&2 - chars="$(printf "%s" "$line" | wc -c | tr -cd '[0-9]')" - char_width=5 #I think.. - rot=$[ 360 / $chars ] - diameter=$[ $chars * $char_width / $pi ] - printf "%s\n" "$line" | fold -w1 | while read -r char;do - printf "%s\n" "$char" | makelabel.sh nowplaying 0 0 0 | offsetshape.sh 0 0 "-${diameter}" - printf "nowplaying rotate 0 %d 0\n" "-$rot" - printf "nowplaying flatten\n" - done - printf "marquee assimilate nowplaying\n" - printf "marquee move 0 %s %s\n" "$elevation" "$[$diameter + $from_cam]" #this won't work before the generation loop unless I can flatten on certain parts. -done -- cgit v1.2.3