Merge feature/schema-first-docs (Workstream F)

This commit is contained in:
Breadway 2026-08-04 22:37:16 +08:00
commit 3510c3ba90
7 changed files with 1152 additions and 0 deletions

View file

@ -544,6 +544,10 @@ bread.hyprland.dispatch("exec", "kitty")
-- Set a keyword
bread.hyprland.keyword("monitor", "HDMI-A-1, 2560x1440, 0x0, 1")
-- Send a raw request to the Hyprland socket, e.g. to evaluate a config-file
-- expression the way `hyprctl eval <expr>` does; returns the raw response string
local result = bread.hyprland.eval("some expression")
-- Query compositor state (returns deserialized Lua tables)
local win = bread.hyprland.active_window()
local monitors = bread.hyprland.monitors()