Read the hands file through the shared header, at its Frametop path

ft-screens' hand cutouts read /run/user/UID/frametop/hands through
hands/include/fh_hands.h instead of their own copy of its offsets.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
DeeJanuzandClaude Opus 5.5 committed 2026-09-30 09:15:07 -06:00
1 parent 499035216c
commit 369736f0ca
4 files changed
+33 -43

No files matched your search

+2 -2
View File
@@ -1,10 +1,10 @@
// ft-handtest: try the hand cutouts without restarting the desktop. Shows a test panel
// (a light grid) in front of you as its own overlay; where frame-hands tracks your hands
// (a light grid) in front of you as its own overlay; where ft-hands tracks your hands
// in front of it, each eye sees through it, like ft-screens' screens with cutouts.
//
// ft-handtest [--distance m] [--width m] [--seconds s]
//
// Needs frame-hands' tracker running (it publishes $XDG_RUNTIME_DIR/frame-hands/hands).
// Needs hand tracking running (hands/run.sh; ft-hands publishes /run/user/UID/frametop/hands).
// Build: screens/build.sh (build/ft-handtest), run in the dev container.
#include "handcut.h"