Initial commit of utility scripts

This commit is contained in:
Alex Selimov 2024-12-12 20:16:38 -05:00
parent ac77586a15
commit 1faeefffd7
34 changed files with 1328 additions and 1 deletions

10
bin/bar_bit.sh Executable file
View file

@ -0,0 +1,10 @@
#!/bin/bash
#price=$(curl rate.sx/1btc | cut -d '.' -f 1)
price=$(coinmon -f BTC | tail -n2 | head -n1 | cut -d ' ' -f 10 | cut -d '.' -f1)
echo "฿ $price"
# Check to see if it's a number
#re='^[0-9]+$'
#if [[ $price =~ $re ]] ; then
#fi