diff options
Diffstat (limited to 'bin/bother')
-rwxr-xr-x | bin/bother | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/bother b/bin/bother index d63d899..a9d55ca 100755 --- a/bin/bother +++ b/bin/bother @@ -12,12 +12,12 @@ if grep -q "dwm" $XFILE; then elif grep -q 'exec' $XFILE; then WM=$(grep 'exec' $XFILE|cut -f 2 -d ' ' -) else - WM=$(last -1 $XFILE) + WM=$(tail -1 $XFILE) fi if [ -f "$HOME"/today ]; then until pgrep $WM>/dev/null do - true + : done sleep 0.5 notify-send -u critical "DO TODAY:" "$(cat "$HOME"/today)" |