feature : start zoom and autokill it after x minutes
This commit is contained in:
parent
dde9e3fe3e
commit
a766b96ef1
@ -280,6 +280,14 @@ function checkenlist() {
|
|||||||
|
|
||||||
function checkenremote() {
|
function checkenremote() {
|
||||||
curl -Lks "$1" > /tmp/file && checkenlist /tmp/file
|
curl -Lks "$1" > /tmp/file && checkenlist /tmp/file
|
||||||
|
|
||||||
|
# Time management
|
||||||
|
function zoomtimeboxed() {
|
||||||
|
declare -i total_minutes=$1
|
||||||
|
declare -i total_seconds=$total_minutes*60
|
||||||
|
echo $total_seconds;
|
||||||
|
arrow "will start zoom and leave it after $total_minutes minutes ($total_seconds seconds)"
|
||||||
|
zoom; (sleep "$total_seconds" && nozoom) &
|
||||||
}
|
}
|
||||||
|
|
||||||
# File stats helpers
|
# File stats helpers
|
||||||
|
Loading…
Reference in New Issue
Block a user