Compare commits
No commits in common. "4b66ad3583c741835e835e8c381ab7b1194d19ea" and "11b0a1d015a52bd3ff9d0fbd6f634829e505fb2a" have entirely different histories.
4b66ad3583
...
11b0a1d015
|
|
@ -11,7 +11,7 @@ pkgs.mkShell {
|
|||
];
|
||||
|
||||
shellHook = ''
|
||||
STIME=60
|
||||
STIME=5
|
||||
programs="cmatrix cbonsai nyancat fortuneCow"
|
||||
|
||||
trap 'stty sane; tput cnorm; clear' EXIT
|
||||
|
|
@ -22,10 +22,8 @@ pkgs.mkShell {
|
|||
tput sgr0
|
||||
case "$choice" in
|
||||
cbonsai)
|
||||
cbonsai -l -t 1 & pid=$!
|
||||
( sleep "$STIME" && kill $pid ) & watcher=$!
|
||||
wait $pid 2>/dev/null
|
||||
kill $watcher 2>/dev/null || true
|
||||
cbonsai -t .2
|
||||
sleep "$STIME"
|
||||
;;
|
||||
cmatrix)
|
||||
bash -c "cmatrix -u 4 & pid=\$!; sleep $STIME; kill -INT \$pid; wait \$pid"
|
||||
|
|
|
|||
Loading…
Reference in a new issue