aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/scripts/killandnotify
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2023-02-10 11:32:00 +0200
committersrdusr <trevorgray@srdusr.com>2023-02-10 11:32:00 +0200
commit009cd3c349ada787d5828d69655c7cd78707ae40 (patch)
tree26e18ca2fe7c6b427eb6ff7f1ad92658f1b9aaf4 /.local/bin/scripts/killandnotify
parent588984c769470ff070dc89a15fb6c63f1bc74562 (diff)
parent4b073028c17697e2254464e2b54678d07489c14e (diff)
downloaddotfiles-009cd3c349ada787d5828d69655c7cd78707ae40.tar.gz
dotfiles-009cd3c349ada787d5828d69655c7cd78707ae40.zip
Add '.local/bin/scripts/' from commit '972ed253fa17ffc0db8dfde82c0662acaed17d48'
git-subtree-dir: .local/bin/scripts git-subtree-mainline: 4d3d5a0f39a5e504f1296cb401e2dffc62292572 git-subtree-split: 972ed253fa17ffc0db8dfde82c0662acaed17d48
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"