YaLTeR / niri

A scrollable-tiling Wayland compositor.
https://matrix.to/#/#niri:matrix.org
GNU General Public License v3.0
4.14k stars 123 forks source link

Built-in clipboard manager #112

Open YaLTeR opened 10 months ago

YaLTeR commented 10 months ago

Store text from clients. Basically exactly what Mutter does, it works perfectly there.

salman-farooq-sh commented 4 months ago

Isn't this already done?

YaLTeR commented 4 months ago

Nope

salman-farooq-sh commented 3 months ago

what does this involve then?

YaLTeR commented 3 months ago

Storing text when it is copied by clients. So that you can e.g. copy text from Alacritty, close Alacritty, paste it somewhere else. Normally you wouldn't be able to, since clients must remain alive to serve clipboard contents.

baduhai commented 2 months ago

The way kwin handles the clipboard manager may also be interesting to have a look at, as it also stores files in the clipboard history.

YaLTeR commented 2 months ago

Not sure I want the whole clipboard history in niri, there are 3rd party clipboard managers for that. But storing 1 text selection, yes.

MauroGuida commented 1 month ago

Something similar to wl-clip-persist should do the job