Skip to content

Releases

0.3.0

Choose a tag to compare

@guitaripod guitaripod released this 02 Dec 12:45

Focus and Spotlight, and half the memory.

  • Focus (O): drag a rectangle and everything outside it is blurred, so one detail owns the shot. The frame is blurred once at a quarter of its size and the patch is cached by strength, so it costs about 40 ms even at 4K.
  • Spotlight (V): the same idea with a 30–90 % dim.
  • Both take size levels with [ and ], show the value and its unit in the bar and the hover popup, and the bar keeps its old footprint with 44 px buttons.
  • Memory: KWin's pixels stream one row at a time into the packed frame, the paint surface is built straight from a sub-rectangle, and the frame is dropped before save/copy. 4K shot 78 → 57 MB peak; workspace 233 → 131 MB.
  • New scripts/bench.py benchmark loop and a real end-to-end test that finishes the overlay through GLINT_AUTOCONFIRM and asserts the capture stage precedes the present stage.

Measured on the four-output rig, 15 runs per mode: capture 56 ms and PNG 161 ms for a 4K shot with the machine loaded; docs/benchmark.md carries the full table, the stage split and the back-to-back 0.2.2 comparison.

glint 0.2.2 — size levels

Choose a tag to compare

@guitaripod guitaripod released this 02 Dec 11:41

Size levels and state.

  • Every tool now has its own stepped size: stroke 1–16 px for the drawing tools, blur strength 4–50 px, mosaic block 6–28 px. [ and ] step it, each tool remembers its own level.
  • The bar shows the value in a cell between the new − and + buttons, and the tooltip carries a second line: "Gaussian blur · strength 22 px · 4/6".
  • Undo and redo dim when there is nothing to undo or redo, and the fill button shows its toggle. The tooltip gained a tail pointing at the button it describes.

Numbers unchanged: region 83 ms, one 4K display 68 ms, whole workspace 199 ms.

0.2.1

Choose a tag to compare

@guitaripod guitaripod released this 02 Dec 10:56

Editor chrome pass.

  • Every toolbar glyph redrawn on a 24 px grid with filled accents; the blur tool is a soft radial disc and no longer reads as a warning sign.
  • Buttons lift and highlight on hover with an eased scale; a tooltip names the action and its shortcut after 320 ms and fades in.
  • Colour swatches name themselves (Red through Black).
  • Everything outside the crop dims to 60 % in the editor, so the working area reads at a glance; the selection phase keeps 35 % so you can still see what you are selecting.

Numbers unchanged: region 83 ms, one 4K display 68 ms, whole workspace 199 ms.

glint 0.2.0 — in-place editor with blur

Choose a tag to compare

@guitaripod guitaripod released this 02 Dec 10:44

The editor is now part of the flow rather than a window afterwards.

Editor

  • Opens in place: the frozen screen stays put, dimmed outside the crop, with a floating toolbar next to the selection.
  • Resizable crop: drag any edge or corner, with the matching resize cursor.
  • Tools: arrow, rectangle, ellipse, pen, highlighter, text, numbered marker, Gaussian blur and mosaic.
  • Blur is a separable Gaussian (three box passes) computed once at native resolution and cached as a patch; painting stays a blit and undo is free. The mosaic samples the frozen frame, so nothing under it survives in the file.
  • Eight colours, wider stroke range, filled shapes (F), undo/redo, and explicit Copy and Save buttons (Ctrl+C / Ctrl+S) that override the CLI defaults for that capture.
  • Annotations live in image pixels: a crop from a 200 %-scale output exports at 4K with strokes to match.

Numbers (unchanged)

Region drag → saved 83 ms (Spectacle ~3400 ms), one 4K display 68 ms (381 ms), whole workspace 199 ms (3442 ms).

Install

yay -S glint-shot
cargo install glint-shot

Or the tarball below. Requirements: Plasma 6 + KWin Wayland, GTK4, wl-clipboard, libnotify. Bind glint to a key in System Settings → Shortcuts.

glint 0.1.0

Choose a tag to compare

@guitaripod guitaripod released this 02 Dec 10:27

Fast screenshots for KDE Plasma Wayland, straight through KWin's ScreenShot2 interface: no xdg-desktop-portal, no Qt, no virtual-desktop stitch.

Numbers

Measured on Plasma 6.8.3 with four displays (3840×2160, 1920×1200, a 2160×3840 portrait, and a 4K TV at 200 % scale):

glint Spectacle 6.8.3
region drag → saved 83 ms ~3400 ms
one 4K display, saved 68 ms 381 ms
whole workspace, saved 199 ms 3442 ms

What it does

  • glint selects a region, glint screen the output under the cursor, glint window the active window, glint full every display, glint area x,y,w,h an explicit rectangle.
  • Editing on the frozen frame: arrow, rectangle, ellipse, pen, highlighter, text, numbered marker, mosaic; six colours, stroke width, undo/redo. Annotations land at native resolution, so a crop of a 200 %-scale output still exports 4K.
  • Copies to the clipboard through wl-copy, saves to ~/Pictures/Screenshots, notifies.

Install

yay -S glint-shot                 # AUR
cargo install glint-shot          # crates.io, installs the `glint` binary

Or the tarball below (install.sh puts glint and its desktop entry in ~/.local).

Requirements

KDE Plasma 6 with KWin on Wayland, GTK4, wl-clipboard, libnotify.

Bind a key: System Settings → Shortcuts → Add → Command/URL → glint.