Small "do-scripts" for doing things.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
387 B

#!/bin/sh
##########################################################################
# Copyright (C) 2021 Derek Olsen <orpheusui@protonmail.com> #
##########################################################################
# Usage:
# ./do-spinwheel [interval:s] (command)
#
# "You spin me right round baby--right round like a record, baby"
while true; do
$2
sleep $1
done