Go to file
bjt-user a40c170f2d countdowns can already be longer than 60 minutes 2024-02-18 20:08:49 +01:00
.gitignore added .gitignore and removed a.out 2023-08-16 22:56:11 +02:00
README.md countdowns can already be longer than 60 minutes 2024-02-18 20:08:49 +01: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

  • make alarm clock file wave file configurable
  • fix still reachable bytes (still reachable: 42,485 bytes in 97 blocks)?