Configurable countdown timer
(requires curses library)
$ gcc -Wall -ansi -pedantic countdown.c symbols.c -o countdown -lcurses
- run
$ ./countdown
- set the time (e.g. 90m)
- press ENTER to start
- use P and Q for pause or quit
If you use a terminal multiplexer as tmux you can associate a new bind to run the countdown
e.g. add bind T send-keys '~/.local/bin/countdown' Enter
in ~/.tmux.conf
start tmux and press prefix T