From b2da67860b39a118e692ded823284ca2bc38c071 Mon Sep 17 00:00:00 2001 From: Chris Caron Date: Fri, 13 Nov 2020 22:27:44 -0500 Subject: [PATCH] Updated CLI_Usage (markdown) --- CLI_Usage.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/CLI_Usage.md b/CLI_Usage.md index 25769e7..0a91b6b 100644 --- a/CLI_Usage.md +++ b/CLI_Usage.md @@ -205,3 +205,20 @@ cat << _EOF | apprise --input-format=markdown There is more, but I want to keep my message short. :) _EOF ``` + +## :star2: Tricks and Additional Notes +### Tmux Alert Bell Integration +Users of Tmux can link their `alert-bell` to use Apprise like so: +```bash +# set your tmux bell-action to type 'other': +set-option -g bell-action other + +# now set tmux to trigger on `alert-bell` actions +set-hook -g alert-bell 'run-shell "\ + apprise \ + --title \"tmux finished on #{host}\" \ + --body \"in session #{session_name} window #{window_index}:#{window_name}\" \ + discord://webhook_id/webhook_token \ + slack://TokenA/TokenB/TokenC/Channel \ + twilio://AccountSid:AuthToken@FromPhoneNo" +```