aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjosh ott <josh@ottmail.me>2026-05-01 17:18:43 -0400
committerjosh ott <josh@ottmail.me>2026-05-01 17:18:43 -0400
commit35d3e6c3990949c2d4d94b5e1bde5006b7f390d9 (patch)
tree1594aa958ab5376744a18da790ac7df71a1f93e6
parent4b56db7b3d851ac1732ed27381eb6bf64335762a (diff)
downloadbin-35d3e6c3990949c2d4d94b5e1bde5006b7f390d9.tar.gz
bin-35d3e6c3990949c2d4d94b5e1bde5006b7f390d9.zip
some friction to the rat
-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