New
Apps 6,419Makers 6,403This week 7
Promote your app−30%
6views in
the last 30 days

tagwerk

Passive time tracker for Hyprland on Arch, nothing to start or stop

Built with Bolt

by espadat-studio · Unclaimed · from DEGermany · added Oct 29, 2026
no ratings0 comments

Work hours that track themselves on a Hyprland desktop, whether you were in a repo, a Slack thread or a Zoom call, with your coding agents' time counted too.

Every CLI time tracker is manual, and manual discipline is what killed the timewarrior setup this one replaces: a forgotten start, a forgotten stop. tagwerk has no start and no stop. On Hyprland it watches which repo your terminal or coding agent sits in, which window has focus, and whether you are idle, then credits every present minute to a project. A repo takes the minute while one is active. Otherwise the focused window decides, so a Slack thread or a Zoom call books to work and an unrecognised window to personal. It answers two questions and no others: what goes on this month's invoice, and whether last week was too long a week.

Piece What it does
Focus poller tagwerk focus as a systemd user service polls window class, title and terminal cwd
hypridle tagwerk idle and tagwerk active from the idle listener and around sleep
Agent hooks Claude Code hooks and a pi extension run tagwerk beat with the agent's cwd
Ledger ~/.local/share/tagwerk/YYYY-MM.jsonl, append-only, UTC timestamps
Attribution a present minute is whole to each leased kind, split within one, else the ambient bucket, else personal/other
Reports day, week, month, invoice; fix appends a span
Bar widget an Omarchy plugin drawing today's credited hours against the day cap, from tagwerk day --json; its code lives in omarchy-tagwerk

Install

paru -S tagwerk-git
tagwerk init && $EDITOR ~/.config/tagwerk/config.toml
systemctl --user enable --now tagwerk-idle.service tagwerk-focus.service

The Claude Code hooks and the pi extension are part of that install, not an optional extra: without them a present minute of background agent work is credited to the focused window instead of the agent's repo. tagwerk doctor reports whether each one landed.

Documentation

Full documentation lives at tagwerk.espadat.com:

Requirements

Built and tested on Omarchy 4. Any Arch Hyprland works (ADR-0015): the AUR package pulls hypridle and the system Python, and tagwerk itself has no runtime dependencies (ADR-0004) and tracks master (ADR-0005). The units need Hyprland started through uwsm, which is what puts HYPRLAND_INSTANCE_SIGNATURE into the systemd user environment. The terminal sensor reads every terminal: kitty exactly over its remote-control socket, and anything else from the focused window's login shell (ADR-0016). The bar widget is Omarchy only.

This repo

Description taken from the repository README.

Ratings

–
0 ratings
5 0
4 0
3 0
2 0
1 0

Rate this app

Sign in to rate

Comments 0

Sign in to comment

No comments yet.

Related apps

#time-tracking · #hyprland · #linux