Problem
plugins/screenshot.lua is a no-op stub (area/fullscreen/window return nothing) yet is bound to PrintScreen in default.lua. The screencopy_manager already exists in output.lua.
Why it matters
There is no way to capture the screen, a basic expectation for a usable desktop.
Where
plugins/screenshot.lua; reuse the screencopy manager / wlr_screencopy in output.lua; encode with libvips.
Approach
Use wlr_screencopy_frame_v1 (or scene_output capture) to copy an output into a wl_shm/dmabuf buffer, read pixels, encode PNG via libvips, write to disk/clipboard. Land fullscreen first, then region (area) and per-window via scene capture.
Effort
M
Problem
plugins/screenshot.luais a no-op stub (area/fullscreen/window return nothing) yet is bound to PrintScreen indefault.lua. Thescreencopy_manageralready exists inoutput.lua.Why it matters
There is no way to capture the screen, a basic expectation for a usable desktop.
Where
plugins/screenshot.lua; reuse the screencopy manager /wlr_screencopyinoutput.lua; encode with libvips.Approach
Use
wlr_screencopy_frame_v1(or scene_output capture) to copy an output into a wl_shm/dmabuf buffer, read pixels, encode PNG via libvips, write to disk/clipboard. Land fullscreen first, then region (area) and per-window via scene capture.Effort
M