Skip to content

Instantly share code, notes, and snippets.

@fpytloun
fpytloun / alarm.sh
Last active February 13, 2016 16:09
Simple desktop notifications from cli
#!/bin/bash
#
# Simply make some noise to notify user
# Usage:
# alarm.sh [message]
# echo alarm.sh | at 15:30
#
## Required variables
export DISPLAY=${DISPLAY:-":0.0"}