Skip to content

Instantly share code, notes, and snippets.

View luisibanez's full-sized avatar

Luis Ibanez luisibanez

View GitHub Profile
@thewtex
thewtex / notify
Created February 17, 2013 02:13
Script to send a tmux, desktop, and audio notification after the completion of the given command when using tmux.
#!/bin/bash
# Send a tmux, desktop, and audio notification after the completion
# of the given command when using tmux.
#
# Requires: tmux
# Recommended: espeak, libnotify
tmux_window=$(/usr/bin/tmux list-windows \
-F "#{window_active} #{window_index} #{window_name}" | \