updated bash with some fun things. automated slack updates, nethack, etc
This commit is contained in:
parent
6479d6c34f
commit
6d26e4d26b
3
bash/fun
3
bash/fun
@ -17,4 +17,7 @@ function pika {
|
||||
imgcat $IMAGE
|
||||
echo;
|
||||
}
|
||||
|
||||
alias pikabox='while true; do reset; pika; sleep 120; done'
|
||||
|
||||
alias netrogue='nethack -u "w0ryn-rog-hum-cha-mal"'
|
||||
|
@ -1,18 +1,21 @@
|
||||
#!/bin/bash
|
||||
function planktimer() {
|
||||
# dependencies: 'say' 'termdown'
|
||||
# dependencies: 'say' 'termdown' '.wryn/bash/rentdynamics'
|
||||
message='Plank Time'
|
||||
while true;
|
||||
do
|
||||
termdown 1h30m;
|
||||
clear;
|
||||
figlet "$message" | lolcat;
|
||||
# update slack status
|
||||
rdplank;
|
||||
say -v $(say -v ? | sed -n "/en_/p" | sed "s/ .*//" | shuf -n 1) "$message";
|
||||
read -n 1;
|
||||
if [ $1 ]; then
|
||||
termdown $1;
|
||||
say -v $(say -v ? | sed -n "/en_/p" | sed "s/ .*//" | shuf -n 1) "done";
|
||||
fi
|
||||
rdstart;
|
||||
done
|
||||
}
|
||||
|
||||
|
@ -57,3 +57,22 @@ function rntbranchcleanup() {
|
||||
printf "\n\n\e[1;36m%s\e[1;35m %s\e[0m\n\n" "RentDynamics" "repository branches all clean!";
|
||||
}
|
||||
|
||||
|
||||
function rdstatus() {
|
||||
slack status edit "$1" $2 >/dev/null 2>&1;
|
||||
}
|
||||
|
||||
alias rdclearstatus='slack status clear >/dev/null 2>&1'
|
||||
|
||||
alias rdstart='rdstatus "dont panic!" :exclamation:'
|
||||
alias rdplank='rdstatus "plank time!" :evergreen_tree:'
|
||||
alias rdstop='rdstatus "not making money" :sunglasses:'
|
||||
alias rdstop2='rdstatus "probably riding" :man-biking:'
|
||||
alias rdmeal='rdstatus "so hungry..." :hamburger:'
|
||||
alias rdturbo='rdstatus "ZOOOM" :turbo:'
|
||||
alias rdsuper='rdstatus "AAAAAAAAAAAAHHHHHHHHH" :gohan:'
|
||||
alias rdmeeting='rdstatus "afk" :necktie:'
|
||||
alias rdbudget='rdstatus "did somebody say skee-ball??" :scales:'
|
||||
alias rdcheese='rdstatus "only the most important things on my mind" :cheese_wedge:'
|
||||
alias rdfoos='rdstatus "I will defeat Mike... someday..." :soccer:'
|
||||
alias rdlax='rdstatus "BELAAAAAAAX" :exploding_head:'
|
||||
|
Loading…
Reference in New Issue
Block a user