Skip to content

✨ Add CLI-based computer use for Pi on Hyprland #30

Description

@davidgasquez

Enable Pi to inspect and control the native Hyprland desktop through CLI commands + a small skill, keeping the existing agent-browser workflow for websites.

Proposed approach

  • wdotool for input, grim for screenshots, and hyprctl for window/workspace state and control; add a thin wrapper only where it simplifies coordinates or verification.
  • Store the skill in agents/skills/ using the existing symlink setup. Pi can execute commands through Bash and read screenshots; no Pi extension should be necessary.

Local constraints
Custom Arch + Hyprland Lua configuration, Spanish keyboard (es), and Zephyr displays at 5/3 scale, including HDMI-A-1 at 3840×2160. wtype, hyprshot, and agent-browser are already declared; verify/add explicit dependencies. pi-sandbox creates a temporary working directory, not desktop isolation.

Acceptance

  • Capture → inspect → act → verify works with Unicode text, shortcuts, clicks, scrolling, and window focus.
  • Explicit monitor targeting and screenshot/pointer coordinate conversion work at fractional scale and nonzero monitor origins.
  • Use Lua-compatible dispatchers and the native Wayland backend; verify results on the live desktop before calling the setup complete.

Research / references

No verified ready-made skill for the exact trio was found. Hypruse is MCP-oriented; Cua Driver offers a full CLI but requires a daemon and has less-established Hyprland validation. Research was source inspection, not live desktop testing.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions