aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2022-12-27 23:31:46 +0200
committersrdusr <trevorgray@srdusr.com>2023-01-07 13:52:10 +0200
commitd56368c215251b70a3d850cbe5587cd44b75105f (patch)
tree30816f3e14656d65209be0cc22aac9d694213766
parented4bdbebfb979c583506ac0f1035248067fef669 (diff)
downloaddotfiles-d56368c215251b70a3d850cbe5587cd44b75105f.tar.gz
dotfiles-d56368c215251b70a3d850cbe5587cd44b75105f.zip
Add killandnotify script
-rwxr-xr-xkillandnotify4
1 files changed, 4 insertions, 0 deletions
diff --git a/killandnotify b/killandnotify
new file mode 100755
index 0000000..2e7222e
--- /dev/null
+++ b/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"