aboutsummaryrefslogtreecommitdiff
path: root/common/scripts/utils/kill-notify
diff options
context:
space:
mode:
Diffstat (limited to 'common/scripts/utils/kill-notify')
-rwxr-xr-xcommon/scripts/utils/kill-notify4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/scripts/utils/kill-notify b/common/scripts/utils/kill-notify
new file mode 100755
index 0000000..f7f749e
--- /dev/null
+++ b/common/scripts/utils/kill-notify
@@ -0,0 +1,4 @@
+#!/bin/sh
+# Kills an application and sends a notification that it's been killed
+
+killall "$1" && notify-send "Killed $1"