Go to file
bjoernf ba37d057fb fixed bug that changed the HOME env var inside the program 2023-08-17 17:59:49 +02:00
.gitignore added .gitignore and removed a.out 2023-08-16 22:56:11 +02:00
README.md update readme 2023-08-17 13:11:49 +02:00
main.c fixed bug that changed the HOME env var inside the program 2023-08-17 17:59:49 +02:00
makefile first commit 2023-08-16 22:38:32 +02:00
play_raw_audio.c fixed bug that changed the HOME env var inside the program 2023-08-17 17:59:49 +02:00
play_raw_audio.h removed comments 2023-08-16 22:54:30 +02:00

README.md

installation

install libpulse-dev (debian based) or libpulse package depending on your distro

sudo pacman -S libpulse pulseaudio sound-theme-freedesktop
ffmpeg -i /usr/share/sounds/freedesktop/stereo/alarm-clock-elapsed.oga ${HOME}/music/alarm-clock-elapsed.wav
make
sudo make install

usage

countdown 20

uninstalling

sudo make uninstall

TODO

  • allow countdowns to be longer than 60 minutes
  • make alarm clock file wave file configurable
  • fix still reachable bytes (still reachable: 42,485 bytes in 97 blocks)?