Otter-shell · #58

Applet for otter-clip, and make otter clip make the system remeber the last paste even if the source app is closed

ClosedFeatureMedium1 votes1 commentsby Cosmo

currently there's no bar applet for the clipboard

and despite the clipboard having the text from a copied source that's now closed, it isn't automatically selected in the system copy paste buffer, like on gnome, kde, windows, etc...

Discussion

Ferreo

Implemented and pushed.

  • otter-clip a02304a: daemon now takes ownership of accepted clipboard selections, so content survives the source app closing; sensitive/unsupported offers remain ignored and the daemon ignores its own replacement offer to avoid duplicate history.
  • otter-config-types 2a32202: added built-in button_clip config and default right-side layout entry.
  • otter-bar 129fd30: wired button_clip through static config and Surface Description button handling.
  • otter-settings e27bf87: exposed button_clip in widget picker and Buttons settings.

Verification: ReleaseFast tests/builds pass (otter-clip 34/34 tests, otter-config-types 66/66, otter-bar 112/112, otter-settings 163/163). Headless Sway integration confirmed a short-lived source remains pasteable and two sequential copies retain correct newest-first history without duplicates.

Sign in with Discord to comment.