From 612e558ccdc35f51f6690f318d59666c9d764879 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Wed, 28 May 2025 15:16:03 -0500 Subject: updating chronographic --- dotfiles/system/.profile.d/chronographic.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'dotfiles') 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 "" } ## -- cgit v1.2.3