A simple program that plays a jingle at an interval. To be used to notify the user to take a break.
Find a file
Stephen Seo ff0f4f4ee1
All checks were successful
Build for Releases / ensure-release-exists (push) Successful in 0s
Build for Releases / ensure-releases-exists-and-push-build-aarch64 (push) Successful in 7s
Build for Releases / ensure-releases-exists-and-push-build-x86_64 (push) Successful in 5s
Attempt fix workflow
2024-06-14 21:15:07 +09:00
.forgejo/workflows Attempt fix workflow 2024-06-14 21:15:07 +09:00
src Add include guard to jingle header 2024-06-10 18:47:34 +09:00
.gitignore Init commit version 1.0 working program 2024-06-10 13:25:11 +09:00
Changelog.md Update Changelog.md 2024-06-14 21:07:53 +09:00
CMakeLists.txt Init commit version 1.0 working program 2024-06-10 13:25:11 +09:00
LICENSE Init commit version 1.0 working program 2024-06-10 13:25:11 +09:00
README.md Minor tweaks to help text, README, Changelog 2024-06-10 18:44:04 +09:00

break_interval

This simple program plays a jingle at a specified interval in minutes. It is meant to be used as a way to notify the user to take a break when the interval jingle plays.

# For usage:
> ./break_interval --help
./program [minutes] [file_to_play_on_interval] [player_program] [player_args...]
  minutes defaults to 5, file defaults to internal file, program defaults to "/usr/bin/mpv".
Note that this program uses execl/execv, so if a program is specified, it must be the full path to the program.

Running the program with no args will default to playing a jingle every 5 minutes.