aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrat2
-rwxr-xr-xration4
2 files changed, 5 insertions, 1 deletions
diff --git a/rat b/rat
index c1eed9e..38f83fe 100755
--- a/rat
+++ b/rat
@@ -50,7 +50,7 @@ for_task () {
update_waybar
while true; do
sleep 5m
- notif="$(notify-send -A open "Ask yourself: do I still need the rat to $1?")"
+ notif="$(notify-send -u critical -A open "Ask yourself: do I still need the rat to $1?")"
if [[ -n "$notif" ]]; then
kitty --app-id ration bash -i ration
break
diff --git a/ration b/ration
index 20f6247..ccb6214 100755
--- a/ration
+++ b/ration
@@ -72,6 +72,10 @@ for_duration () {
}
for_task () {
+ words="$(generate_words)"
+ echo "repeat after me:"
+ rand_prompt "$words"
+
while [[ -z "$task" ]]; do
echo "what do you need the rat for?"
read -p "I am going to: " task