aboutsummaryrefslogtreecommitdiff
path: root/killandnotify
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2023-01-07 14:36:59 +0200
committersrdusr <trevorgray@srdusr.com>2023-01-07 14:36:59 +0200
commit94778c70b8a4396fbee25d7653fa0830803b6d32 (patch)
treecc4b3d274f490095a710bc1afc8eb6b47c9997d9 /killandnotify
parenta035fc7259fb7a8959d3fada42a426f4289e3619 (diff)
downloaddotfiles-94778c70b8a4396fbee25d7653fa0830803b6d32.tar.gz
dotfiles-94778c70b8a4396fbee25d7653fa0830803b6d32.zip
Squashed '.local/bin/scripts/' changes from f797a45..0e48d67
0e48d67 Removed st in favour of alacritty 03be387 Add killandnotify script 966087e Add ffmpeg script f0ca2dd Add colors script git-subtree-dir: .local/bin/scripts git-subtree-split: 0e48d677ccf014c65c1fbb0bc4690737325df678
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"