Replace os/+arch/bin/remind with sched alias
This commit is contained in:
parent
3d04b314ef
commit
db442d7702
|
@ -1,9 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
if ! pgrep atd >/dev/null; then
|
||||
>&2 echo "atd isn't running"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
msg=$1
|
||||
shift
|
||||
echo "notify-send 'Reminder' '$msg'" | at $@
|
|
@ -10,6 +10,11 @@ alias ddg='duckduckgo'
|
|||
alias bt='transmission-remote'
|
||||
alias ydl='youtube-dl'
|
||||
alias ydls='youtube-dl --extract-audio --audio-format m4a'
|
||||
remind() {
|
||||
local time=$1; shift
|
||||
sched $time "notify-send --urgency=critical 'Reminder' '$@'; ding";
|
||||
}
|
||||
alias r='remind'
|
||||
|
||||
# Canonical hex dump; some systems have this symlinked
|
||||
is-callable hd || alias hd="hexdump -C"
|
||||
|
|
Loading…
Reference in a new issue