home
/
code
/
khome.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improve wallpaper-setting pipeline robustness
[khome.git]
/
home
/
bin
/
alarm
diff --git
a/home/bin/alarm
b/home/bin/alarm
index
ad57499
..
fd0b055
100755
(executable)
--- a/
home/bin/alarm
+++ b/
home/bin/alarm
@@
-7,7
+7,14
@@
case "$1"
seconds="$1"
esac
-$HOME/bin/snore "$seconds"
+if which snore
+then
+ _sleep=snore;
+else
+ _sleep=sleep;
+fi
+
+"$_sleep" "$seconds"
printf "!!! TIMES UP !!!\n"
This page took
0.024747 seconds
and
4
git commands to generate.