diff options
| author | srdusr <trevorgray@srdusr.com> | 2022-12-27 23:31:46 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2022-12-27 23:31:46 +0200 |
| commit | 658c73485ca2cb1fbe16ea16104b0960849f6b37 (patch) | |
| tree | 50d74c4a19073dbf12720996ff132b6aa50bc214 /killandnotify | |
| parent | b4b90a41e84c26cfa8480203c270d906ed7260e3 (diff) | |
| download | dotfiles-658c73485ca2cb1fbe16ea16104b0960849f6b37.tar.gz dotfiles-658c73485ca2cb1fbe16ea16104b0960849f6b37.zip | |
Add killandnotify script
Diffstat (limited to 'killandnotify')
| -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" |
