diff options
| author | Sylvain Herlédan <sylvain.herledan@hrafnagud.info> | 2017-06-03 12:52:03 +0200 |
|---|---|---|
| committer | Sylvain Herlédan <sylvain.herledan@hrafnagud.info> | 2017-06-03 12:52:03 +0200 |
| commit | e33ad4f128fb8fef2119cf2c71371eaf9c19bd29 (patch) | |
| tree | 1fe625b20799889724aad507b8bac0a77258b9ca /bin/log_notifications.sh | |
| download | dotfiles-e33ad4f128fb8fef2119cf2c71371eaf9c19bd29.tar.gz dotfiles-e33ad4f128fb8fef2119cf2c71371eaf9c19bd29.tar.bz2 dotfiles-e33ad4f128fb8fef2119cf2c71371eaf9c19bd29.zip | |
Initial setup with basic tools: vim/dein, tmux, st, tup, X
Diffstat (limited to 'bin/log_notifications.sh')
| -rwxr-xr-x | bin/log_notifications.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/log_notifications.sh b/bin/log_notifications.sh new file mode 100755 index 0000000..2b187db --- /dev/null +++ b/bin/log_notifications.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +echo "${@}" \ + | sed -r 's/IT Message from (\w+)\s*(.+) emblem-important CRITICAL/\1> \2/' \ + >> "/tmp/notifications.log" |
