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