diff options
| author | srdusr <trevorgray@srdusr.com> | 2022-12-27 23:31:46 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2023-01-07 13:52:10 +0200 |
| commit | d56368c215251b70a3d850cbe5587cd44b75105f (patch) | |
| tree | 30816f3e14656d65209be0cc22aac9d694213766 | |
| parent | ed4bdbebfb979c583506ac0f1035248067fef669 (diff) | |
| download | dotfiles-d56368c215251b70a3d850cbe5587cd44b75105f.tar.gz dotfiles-d56368c215251b70a3d850cbe5587cd44b75105f.zip | |
Add killandnotify script
| -rwxr-xr-x | killandnotify | 4 |
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" |
