From 1468b1dfe6ad0b6d0a880043b37e610d7e2423e5 Mon Sep 17 00:00:00 2001 From: kittenlikeasmallcat <75060689+ktnlikeasmallcat@users.noreply.github.com> Date: Fri, 17 Dec 2021 12:57:44 -0800 Subject: [PATCH] Shell scripts 8ball.sh picks a text file, termin8ball runs a new Terminator window with a special config. --- 8ball.sh | 9 +++++++++ termin8ball | 3 +++ 2 files changed, 12 insertions(+) create mode 100644 8ball.sh create mode 100644 termin8ball diff --git a/8ball.sh b/8ball.sh new file mode 100644 index 0000000..5504e20 --- /dev/null +++ b/8ball.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +#terminator --config ~/.config/terminator/8ballconf --profile=8 --geometry=515x515 + +EIGHTBALL=$( ls ~/.8ball/Answers/ | sort -R | tail -1 ); + +ANSWER=$( cat ~/.8ball/Answers/$EIGHTBALL ); + +echo -e $ANSWER | pv -qL 3000; diff --git a/termin8ball b/termin8ball new file mode 100644 index 0000000..a0f7434 --- /dev/null +++ b/termin8ball @@ -0,0 +1,3 @@ +#!/bin/bash + +terminator --config ~/.config/terminator/8ballconf --profile=8 --geometry=515x515