aboutsummaryrefslogtreecommitdiff
path: root/core/toggle
blob: 54dcc8daf0d598144662314805b6901e7514f445 (plain)
1
2
3
4
5
6
7
#!/bin/sh
[ "$1" = "info" ] && echo "toggle the timer between running and paused" && exit 2

. "$core_path/update"

[ $running -eq 1 ] && exec "$prog" pause || exec "$prog" start