Skip to content

Commit 1d06334

Browse files
committedFeb 23, 2025
Tweak ds script
1 parent be88800 commit 1d06334

File tree

1 file changed

+2
-2
lines changed
  • home/bin

1 file changed

+2
-2
lines changed
 

‎home/bin/ds

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/dash
22

33
# Run a command in the background ("disown silently"). See
44
# https://felixmilea.com/2014/12/running-bash-commands-background-properly.
@@ -11,4 +11,4 @@ if test -t 2; then
1111
exec 2>/dev/null
1212
fi
1313

14-
"$@" &
14+
{ "$@" || notify-send \`ds\` 'Something went wrong...'; } &

0 commit comments

Comments
 (0)
Please sign in to comment.