https://github.com/abdnh/tiny-timer
A Tiny Little Timer
https://github.com/abdnh/tiny-timer
Last synced: 2 months ago
JSON representation
A Tiny Little Timer
- Host: GitHub
- URL: https://github.com/abdnh/tiny-timer
- Owner: abdnh
- Created: 2021-10-29T21:51:56.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-11-01T20:46:25.000Z (over 3 years ago)
- Last Synced: 2025-01-24T07:29:48.399Z (4 months ago)
- Language: C
- Size: 147 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Just a tiny little timer written in C.
I mostly wrote this years ago when I was learning C as an exploration of GUI libraries and build systems. It uses a portable library called [IUP](https://en.wikipedia.org/wiki/IUP_(software)) and the [Meson](https://mesonbuild.com/) build system.
It should work on Windows and Linux, but I mostly used it on Windows.
## Building
- [Install Meson and Ninja](https://mesonbuild.com/Getting-meson.html).
- Install [IUP](https://webserver2.tecgraf.puc-rio.br/iup/en/download_tips.html).
- Run `meson build` in the root directory.
- cd into the build directory and run ninja:
```
cd build
ninja
```
- You'll get an executable `timer.exe` (or just `timer`) in the build directory. Copy it along with `alarm.wav` and `timer.ico` to some directory.
- Run and enjoy.## TODO
- Make alarm in linux version persistent when the window is not focused## Credit
Icon is probably from https://www.flaticon.com/free-icons/stopwatch