diff options
| author | Craig Jennings <c@cjennings.net> | 2025-05-28 15:16:03 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-05-28 15:16:03 -0500 |
| commit | 612e558ccdc35f51f6690f318d59666c9d764879 (patch) | |
| tree | ebec1d84e098b06089a968816f9824e985f8f630 /dotfiles | |
| parent | 90c4182c2c2527c09d5d974cfe4025e2f7b6671a (diff) | |
updating chronographic
Diffstat (limited to 'dotfiles')
| -rw-r--r-- | dotfiles/system/.profile.d/chronographic.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/dotfiles/system/.profile.d/chronographic.sh b/dotfiles/system/.profile.d/chronographic.sh index d53fe2b..41c1860 100644 --- a/dotfiles/system/.profile.d/chronographic.sh +++ b/dotfiles/system/.profile.d/chronographic.sh @@ -46,8 +46,12 @@ alarm() { ! date -d "$1" >/dev/null 2>&1 && echo "Invalid time: $1" && return 1 # silently schedule the command using 'at' command - echo "paplay \$BEEP && notify-send \"Alarm\" \"$@\"" | at "$1" >> /dev/null - echo "Alarm '${@:2}' is queued for $1." && echo "To see all alarms, issue the command: atq" && echo "" + echo "paplay \$BEEP && notify-send \"Alarm\" \"$@\"" | at "$1" >> /dev/null 2>&1 + echo "" + echo "Alarm '${@:2}' is queued for $1." + echo "To see all alarms, issue the command: 'atq'" + echo "To remove an alarm, issue the command: 'atrm' and the number of entry from atq" + echo "" } ## |
