diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-09-16 11:55:18 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-09-16 11:55:18 -0300 |
commit | 1233cfe580dda1ac1e86e60a048c2d3ed94b673c (patch) | |
tree | b897cfd18f1ff19091630d2e1e407ea4eb0b05f9 /xalarm | |
parent | 9687d8991b3c24d112f5f7f69618f152ccfa1457 (diff) | |
download | utils-x11-1233cfe580dda1ac1e86e60a048c2d3ed94b673c.tar.gz utils-x11-1233cfe580dda1ac1e86e60a048c2d3ed94b673c.tar.bz2 |
Adds xalarm
Diffstat (limited to 'xalarm')
-rwxr-xr-x | xalarm | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -0,0 +1,15 @@ +#!/bin/bash +# +# Simple alarm applicaton +# See discussion at https://www.reddit.com/r/Gentoo/comments/1rryh1/kalarm_replacement/ +# + +# Delay +DELAY="${1:-10m}" + +# Message +shift +MESSAGE="${*:-Alarm!}" + +sleep $DELAY +xmessage $MESSAGE |