diff options
| author | srdusr <[email protected]> | 2023-01-07 14:41:21 +0200 |
|---|---|---|
| committer | srdusr <[email protected]> | 2023-01-07 14:41:21 +0200 |
| commit | 556f87e527b97047eb8b13e65dff2eb736662ded (patch) | |
| tree | f60563641383fb4c1595d7acff6f1cfce0989046 /killandnotify | |
| parent | a169838f2b1852bfd6feb38970d9324650d93b74 (diff) | |
| parent | 94778c70b8a4396fbee25d7653fa0830803b6d32 (diff) | |
| download | dotfiles-556f87e527b97047eb8b13e65dff2eb736662ded.tar.gz dotfiles-556f87e527b97047eb8b13e65dff2eb736662ded.zip | |
Sync files
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" |