blob: 701b1a4c532e0b73c835aaa58ce2bcf50a73306e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
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
|