#!/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