diff options
author | xyz <gky44px1999@gmail.com> | 2022-08-15 19:02:04 -0700 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2022-08-15 19:02:04 -0700 |
commit | 6c41c0b031a8abd37d9d6332b823dae803530f80 (patch) | |
tree | b966b038ad605d0dd06eceb0ca9182cc658beaf0 /home/xyz/.local/bin/alarm | |
parent | 991f3abf9c393d3ddb83671c432f861fbedd2f96 (diff) |
use /usr/bin/ instead of /bin/
Diffstat (limited to 'home/xyz/.local/bin/alarm')
-rwxr-xr-x | home/xyz/.local/bin/alarm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/home/xyz/.local/bin/alarm b/home/xyz/.local/bin/alarm index 06c506b0..5342e7db 100755 --- a/home/xyz/.local/bin/alarm +++ b/home/xyz/.local/bin/alarm @@ -2,7 +2,7 @@ min="$1" [ "$1" ] && shift -printf "notify-send -u critical %s; bell" "$(/bin/printf '%q ' "${@:-alarm}")" | at now + "${min:-0}" minutes && [ "$min" ] && [ "$min" -ne 0 ] && notify-send "Successfully Scheduled" +printf "notify-send -u critical %s; bell" "$(/usr/bin/printf '%q ' "${@:-alarm}")" | at now + "${min:-0}" minutes && [ "$min" ] && [ "$min" -ne 0 ] && notify-send "Successfully Scheduled" # at used to not like string like 'Boiling Water!', don't know why now it works, if see similar issue, use folllowing codes #at now + "$1" minutes << EOF && notify-send 'Successfully Scheduled' |