#status-bar #timer #waybar

bin+lib shoko-timer

A screen timer with json output for status bar

8 releases (5 stable)

Uses new Rust 2024

2.0.1 Mar 3, 2026
1.1.3 Mar 3, 2026
0.2.1 Mar 2, 2026
0.2.0 Feb 26, 2026
0.1.0 Feb 26, 2026

#625 in GUI

MIT license

4KB
56 lines

Screen Timer

A simple screen timer with json output for status bars (like waybar).

Features

  • Automatically handles system suspend or lid close.
  • Doesn't count sleep time.
  • Uses '/dev/shm' for writing and auto-cleanup on reboot
  • Outputs JSON format for easy GUI integration.

Usage

Run the binary and point your status bar to JSON output.

License

Do whatever you want.

No runtime deps