diff options
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 "" } ## |
