summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/journal12
-rwxr-xr-xbin/pomo10
-rwxr-xr-xbin/sleep_goodbin0 -> 20976 bytes
3 files changed, 22 insertions, 0 deletions
diff --git a/bin/journal b/bin/journal
new file mode 100755
index 0000000..3171a5e
--- /dev/null
+++ b/bin/journal
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+j=~/.journal
+
+t="$(mktemp)"
+"$EDITOR" "$t"
+
+
+echo >>"$j"
+date +'%Y-%m-%d %H:%M' >>"$j"
+printf '%s\n' '----------------' >>"$j"
+cat "$t" | sed -e 's/^/\t/' >>"$j"
diff --git a/bin/pomo b/bin/pomo
new file mode 100755
index 0000000..b02821a
--- /dev/null
+++ b/bin/pomo
@@ -0,0 +1,10 @@
+#!/bin/sh
+say () { printf '%s\n' "$1"; notify-send "$1"; }
+while true; do
+ say '5m break'
+ sleep 0.5s
+ sleep_good 5m
+ say 'go work'
+ sleep 0.5s
+ sleep_good 25m
+done
diff --git a/bin/sleep_good b/bin/sleep_good
new file mode 100755
index 0000000..02043cc
--- /dev/null
+++ b/bin/sleep_good
Binary files differ