arbtt capture for niri and sway Wayland compositors
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-05 10:15:12 +01:00
.github/workflows chore: bump to 0.1.4, add CI, harden release pipeline and log dir permissions 2026-09-05 10:15:12 +01:00
src chore: bump to 0.1.4, add CI, harden release pipeline and log dir permissions 2026-09-05 10:15:12 +01:00
.gitignore initial commit 2026-01-21 23:20:19 +07:00
Cargo.lock chore: bump to 0.1.4, add CI, harden release pipeline and log dir permissions 2026-09-05 10:15:12 +01:00
Cargo.toml chore: bump to 0.1.4, add CI, harden release pipeline and log dir permissions 2026-09-05 10:15:12 +01:00
CHANGELOG.md chore: bump to 0.1.4, add CI, harden release pipeline and log dir permissions 2026-09-05 10:15:12 +01:00
LICENSE initial commit 2026-01-21 23:20:19 +07:00
README.md chore: bump to 0.1.4, add CI, harden release pipeline and log dir permissions 2026-09-05 10:15:12 +01:00
renovate.json chore: bump to 0.1.4, add CI, harden release pipeline and log dir permissions 2026-09-05 10:15:12 +01:00
SECURITY.md chore: add OpenSSF Scorecard hardening and security policy 2026-07-01 17:22:12 +01:00

arbtt-capture-wl

OpenSSF Scorecard

arbtt capture for Wayland compositors (niri, sway).

Usage

# Start capturing (60s interval, writes to ~/.arbtt/capture.log)
arbtt-capture-wl

# Custom interval
arbtt-capture-wl -i 30

# Custom logfile
arbtt-capture-wl -f /path/to/capture.log

View stats

Requires ~/.arbtt/categorize.cfg - see example config.

arbtt-stats
arbtt-dump

Install

Pre-built binaries:

Download the latest release from GitHub Releases:

# Linux (x86_64) - binary
base=https://github.com/franzos/arbtt-capture-wl/releases/latest/download
curl -sLO $base/arbtt-capture-wl-x86_64-unknown-linux-gnu.tar.gz
curl -sLO $base/arbtt-capture-wl-x86_64-unknown-linux-gnu.tar.gz.sha256
sha256sum -c arbtt-capture-wl-x86_64-unknown-linux-gnu.tar.gz.sha256
tar xzf arbtt-capture-wl-x86_64-unknown-linux-gnu.tar.gz
sudo mv arbtt-capture-wl /usr/local/bin/

Release assets carry a build provenance attestation; verify with gh attestation verify <file> --repo franzos/arbtt-capture-wl.

Packages:

.deb and .rpm packages are also available on the Releases page.

# Debian/Ubuntu
sudo dpkg -i arbtt-capture-wl_*.deb

# Fedora/RHEL
sudo rpm -i arbtt-capture-wl-*.rpm

Supported compositors

  • sway (via $SWAYSOCK)
  • niri (via $NIRI_SOCKET)

Limitations

Idle time isn't detected. Every sample is recorded as active, so $idle conditions in categorize.cfg never match and time spent away from an unlocked machine counts as active. Neither compositor exposes idle time over its IPC socket; that would need an ext-idle-notify-v1 listener.

License

GPL-3.0-only