Commit graph

5 commits

Author SHA1 Message Date
2f77222816 Fix floating: use xdg-terminal-exec --app-id + class-matched rules
The window never floated because install hardcoded `ghostty --class=monitor-tui`.
Ghostty rejects app-ids that aren't valid GTK IDs (no dot) and silently falls
back to class com.mitchellh.ghostty, so the `match:class monitor-tui` rule never
matched and the window tiled.

Switch to the Omarchy convention used by NoCoder/omagrab: launch via
`xdg-terminal-exec --app-id=monitor-tui` (terminal-agnostic; the default kitty
accepts any class) and match the rules on class instead of title:

  windowrule = float on,  match:class ^(monitor-tui)$
  windowrule = center on, match:class ^(monitor-tui)$
  windowrule = size 800 600, match:class ^(monitor-tui)$
  windowrule = pin on,    match:class ^(monitor-tui)$

Drop the per-terminal ghostty/kitty/alacritty/foot detection and broaden the
uninstall cleanup to remove every legacy form (title rules + old paths).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-08 15:27:25 +01:00
nosignal
7083aee5dc Update links to Forgejo 2026-04-07 00:53:06 +01:00
747dd85db1 Add video guide to README
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 14:37:48 +00:00
15a8a9536e Add detailed comments to scripts and comprehensive README
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 14:36:09 +00:00
c90bdb1ce2 Initial commit: Monitor Configuration TUI for Hyprland/Omarchy
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 14:35:26 +00:00