srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/killandnotify
diff options
context:
space:
mode:
authorsrdusr <[email protected]>2023-01-07 14:41:21 +0200
committersrdusr <[email protected]>2023-01-07 14:41:21 +0200
commit556f87e527b97047eb8b13e65dff2eb736662ded (patch)
treef60563641383fb4c1595d7acff6f1cfce0989046 /killandnotify
parenta169838f2b1852bfd6feb38970d9324650d93b74 (diff)
parent94778c70b8a4396fbee25d7653fa0830803b6d32 (diff)
downloaddotfiles-556f87e527b97047eb8b13e65dff2eb736662ded.tar.gz
dotfiles-556f87e527b97047eb8b13e65dff2eb736662ded.zip
Sync files
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"