Open YaLTeR opened 10 months ago
Isn't this already done?
Nope
what does this involve then?
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.
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.
Not sure I want the whole clipboard history in niri, there are 3rd party clipboard managers for that. But storing 1 text selection, yes.
Something similar to wl-clip-persist should do the job
Store text from clients. Basically exactly what Mutter does, it works perfectly there.