Find a file
2026-04-10 09:39:33 +02:00
assets Add 12 hours format 2026-03-19 08:35:52 +01:00
docs Add man page documentation 2026-04-10 09:38:08 +02:00
src Fix single digit 2026-03-27 23:09:08 +01:00
.gitignore Initial commit 2026-03-18 21:11:13 +01:00
makefile Add man page documentation 2026-04-10 09:38:08 +02:00
PKGBUILD Add 12 hours format 2026-03-19 08:35:52 +01:00
README.md Add man page build in README 2026-04-10 09:39:33 +02:00

Timeim

Time, but improved

Ascii art

I took images from @yuanqing here : https://gist.github.com/yuanqing/ffa2244bd134f911d365, thanks :)

Goal

The goal, since I live in a terminal, is to have a command to nicely display the hour of the day

I also intend to push this to pacman or something, and (maybe) on apt and apt-get

Usage

Since many paremeters are required, I recommend you to edit your ~/.bashrc file (or equivalent), to add this line : alias timeim="timeim --hours --minutes --seconds --color nuanced", or anything really, experiment and tweak paremeters as you please

Don't forget to run source ~/.bashrc

From source

  1. Get the code ( git clone https://github.com/Greensky-gs/timeim && cd timeim )
  2. Install gcc and make if you don't already have them ( common installations : pacman -S gcc make, apt install gcc make ... )
  3. Compile the projet. Make sure the src and assets folder are at the same location.
  • You can use sudo make install for a global installation
  • You can use make DATADIR=./assets for a local installation, but now your ./assets must be in the same directory as the executable. You can tweak this path if you want (ie: to an absolute path)
  1. Execute the code generated in the bin directory : it has a timeim executable file, if everything went fine
  2. You can also create the man page entry : make manpage. It might fail if you don't run in sudo, since it will copy the file into /usr/share/man/man1, if so, you can either re-run the command in sudo, or copy the file (./build/timeim.1) into wherever you please

Issues

If you see an issue or an improvement, please let me know ( by creating an issue for instance )