dotfiles

config files and scripts at HOME.
git clone git://git.ricketyspace.net/dotfiles.git
Log | Files | Refs

commit ac17ce933d4e214c01e0f82914c0fed589bd057a
parent cfe6ad0ab84cd5e1c750bf11dfa4e8060c8432ef
Author: rsiddharth <s@ricketyspace.net>
Date:   Thu, 24 May 2018 22:23:19 +0000

.bin: Remove alarm (moved to dip).

Diffstat:
.bin/alarm | 22----------------------
1 file changed, 0 insertions(+), 22 deletions(-)

diff --git a/.bin/alarm b/.bin/alarm @@ -1,22 +0,0 @@ -#!/bin/sh -# -# License: CC0-1.0 -# -# Usage -# -# $ alarm HH:MM -# - -# Time in seconds since epoch. -TIME=$(date --date="$1" +%s 2> /dev/null); - -if [ -z $TIME ];then - echo 'Invalid time' - exit 1 -fi - -# Calculate delay [ time - current_time ] -FOR=$(($TIME - $(date +%s))) - -echo "Will disturb in " $FOR "seconds." -sleep $FOR; mpc play