Update
This commit is contained in:
@@ -1,5 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
refresh="60"
|
||||
refresh="600"
|
||||
|
||||
sleep-with-countdown() {
|
||||
secs=$1
|
||||
while [ $secs -gt 0 ]; do
|
||||
printf "\rProchaine dans $secs\033[0K s"
|
||||
sleep 1
|
||||
: $((secs--))
|
||||
done
|
||||
printf "\n"
|
||||
}
|
||||
# sleep-with-countdown $refresh;
|
||||
|
||||
#while true; do clear; ./stocks.sh $(cat ~/.ticker.conf); sleep $refresh; done
|
||||
while true; do clear; ./stocks.sh; sleep $refresh; done
|
||||
|
||||
while true; do clear; ./stocks.sh $(cat ~/.ticker.conf); sleep $refresh; done
|
||||
|
||||
Reference in New Issue
Block a user