aboutsummaryrefslogtreecommitdiff
path: root/killandnotify
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2022-12-27 23:31:46 +0200
committersrdusr <trevorgray@srdusr.com>2022-12-27 23:31:46 +0200
commit658c73485ca2cb1fbe16ea16104b0960849f6b37 (patch)
tree50d74c4a19073dbf12720996ff132b6aa50bc214 /killandnotify
parentb4b90a41e84c26cfa8480203c270d906ed7260e3 (diff)
downloaddotfiles-658c73485ca2cb1fbe16ea16104b0960849f6b37.tar.gz
dotfiles-658c73485ca2cb1fbe16ea16104b0960849f6b37.zip
Add killandnotify script
Diffstat (limited to 'killandnotify')
-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"