aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/scripts/killandnotify
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/scripts/killandnotify')
-rwxr-xr-x.local/bin/scripts/killandnotify4
1 files changed, 4 insertions, 0 deletions
diff --git a/.local/bin/scripts/killandnotify b/.local/bin/scripts/killandnotify
new file mode 100755
index 0000000..2e7222e
--- /dev/null
+++ b/.local/bin/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"