u/chmouelb

shmooz: A zoom / magnifier utility for Wayland compositors
▲ 23 r/swaywm+1 crossposts

shmooz: A zoom / magnifier utility for Wayland compositors

Hello, I have built a small Wayland tool called shmooz.

It's a simple tool that just zooms the current Wayland output, lets you pan around, draw a few annotations, use a spotlight around the pointer, and save or copy what is currently visible.

I wrote it mostly because I wanted something simple for presentations, screen sharing, and pointing at things without dragging a full screenshot editor into the workflow.

It can currently:

  • zoom and pan the focused output
  • spotlight on pointer
  • draw basic annotations: pen, highlighter, lines, rectangles, ellipses, text
  • save/copy as a screenshot

Example on how to bind it in sway: (i havent tested other wayland compositor but that probably would work)

bindsym $super+b exec pgrep shmooz && killall shmooz || shmooz --zoom-in 10% --output "$(swaymsg -t get_outputs | jq -r 'map(select(.focused == true)) | .[].name')"

The project is written in Rust and uses Wayland/layer-shell. It is still young, so expect rough edges. I have only tested the workflow I use myself.

Repo:

https://github.com/chmouel/shmooz

AUR package is available as well.

github.com
u/chmouelb — 1 day ago