diff options
Diffstat (limited to '.local/bin/notify')
-rwxr-xr-x | .local/bin/notify | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.local/bin/notify b/.local/bin/notify index a87d3ab..fce103d 100755 --- a/.local/bin/notify +++ b/.local/bin/notify @@ -12,7 +12,9 @@ then else t="$(echo "$NOTIFY_LONG" | tr a-z A-Z)" s="$1" - b="$2." + b="$2" + c="${b##*[![:punct:]]}" + [ -z "$c" ] && b="$2." shift 2 notify-send "$@" -a "$t" "$s" "$b" fi |