From 536332f61619026792cdd02f45469100ddd07b61 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 23 Oct 2026 15:59:32 +0200 Subject: companion: a remark for the program in front of her The focused window's class, from Hyprland's activewindow event, picks a line from Lines.js keyed app:. The event fires on every title change too, so she reacts only when the class changes, and a third of the time, under the existing 30 s line cooldown so alt-tabbing does not make her chatter. Classes come from the window rules in the live config; one without lines says nothing. Lines only, no frames of her own yet. Co-Authored-By: Claude Opus 5.5 --- desktop/companion/README.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'desktop/companion/README.md') diff --git a/desktop/companion/README.md b/desktop/companion/README.md index 4582b64..adbcb01 100644 --- a/desktop/companion/README.md +++ b/desktop/companion/README.md @@ -51,6 +51,11 @@ frame falls back to its outfit's `base`. stacks a later surface above an earlier one on a layer, and 0.56.2 has no layer rule to order them (no `order` key in the binary; an unknown key raises no config error). +- The program in front of her is Hyprland's `activewindow` event, + `class,title`. It also fires on every title change, so she reacts + only when the class changes, a third of the time, under the 30 s line + cooldown. Lines are `app:` in `Lines.js`, class lowercased; a + class with none says nothing. - She only feels the pointer while it is over her: Quickshell has no global pointer and Hyprland sends no motion events. Hence the 0.6 s dodge rather than moving away as the pointer approaches. -- cgit v1.2.3