From 9e82c96713989a7565eadac505b36e3dbe91cd5a Mon Sep 17 00:00:00 2001 From: Sam Chudnick Date: Sun, 11 Jun 2023 07:56:17 -0400 Subject: Added, removed, renamed scripts --- .local/bin/alarm | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100755 .local/bin/alarm (limited to '.local/bin/alarm') diff --git a/.local/bin/alarm b/.local/bin/alarm deleted file mode 100755 index 2909ecf..0000000 --- a/.local/bin/alarm +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -[ $1 = "-h" -o $1 = "--help" ] && echo "usage: alarm time sound_file" && exit 0 -[ $# != 2 ] && echo "usage: alarm time sound_file" && exit 1 - -echo "alarm set for $1" -echo "$(basename "$2") is the alarm tone" - -while [ $(date +%H:%M) != "$1" ] -do - sleep 1 -done - -amixer -q sset Master 100% unmute -pkill -RTMIN+10 i3blocks -mpv --loop=inf $2 - -- cgit v1.2.3