aboutsummaryrefslogtreecommitdiff
path: root/bin/boop
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-11-14 00:21:53 -0300
committerEuAndreh <eu@euandre.org>2024-11-14 00:21:53 -0300
commit2eb1ffd491323d7ad69bb96ba7141d39da73c209 (patch)
treede629a8a4225c84c589f4de506429a4d21bb16ff /bin/boop
parentMove bin/{htmlesc,shesc,uri} to eut (diff)
downloaddotfiles-2eb1ffd491323d7ad69bb96ba7141d39da73c209.tar.gz
dotfiles-2eb1ffd491323d7ad69bb96ba7141d39da73c209.tar.xz
bin/boop: Also show $PWD if no message is given
Diffstat (limited to 'bin/boop')
-rwxr-xr-xbin/boop2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/boop b/bin/boop
index f77587e..a15f62c 100755
--- a/bin/boop
+++ b/bin/boop
@@ -93,7 +93,7 @@ else
fi
if [ "$N" = 1 ] || [ "$SILENT" = false ]; then
- msg -"$N" -b $SOUND -D "${MESSAGE:-$CMD}"
+ msg -"$N" -b $SOUND -D "${MESSAGE:-`printf '%s\n\n(%s)\n' "$CMD" "$PWD"`}"
fi
exit "$STATUS"