diff options
Diffstat (limited to 'bin/bother')
-rwxr-xr-x | bin/bother | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/bother b/bin/bother new file mode 100755 index 0000000..701b1a4 --- /dev/null +++ b/bin/bother @@ -0,0 +1,10 @@ +#!/bin/sh +# puts up a critical notification if $HOME/today exists, containing the contents of that file. +if [ -f "$HOME"/today ]; then + until pgrep -x dwm>/dev/null + do + true + done + sleep 0.5 + notify-send -u critical "DO TODAY:" "$(cat "$HOME"/today)" +fi |