ActivityWatch / aw-watcher-window-wayland

Window and AFK watcher for some Wayland compositors
Mozilla Public License 2.0
57 stars 14 forks source link

aw-watcher-window-wayland

Build

Reports both window and afk status to the buckets aw-watcher-window and aw-watcher-afk respectively

NOTE: Does not support all wayland compositors, see "Compatibility" section below

Dependencies

How to build

  1. Install rust and cargo (any recent stable version)
  2. Run "cargo build --release"
  3. A binary will be build inside the target/release folder named aw-watcher-window-wayland which can be run

How to use

  1. Start your wayland compositor
  2. Start aw-server (or aw-qt, but you need to disable aw-watcher-afk and aw-watcher-window so they don't conflict)
  3. Start aw-watcher-window-wayland

If you want to autostart aw-watcher-window-wayland without aw-qt, you can use the .desktop file provided in this git

Compatibility

Only supports wayland window managers that implements the following wayland protocols:

Window Manager supported? Details
phosh ✔️ works
sway ✔️ works on version 1.5 and up
GNOME / Mutter no support for the protocols above
Wayfire not tested, but might work
KDE / KWin