Skip to content

Commit 9154384

Browse files
01mickoConsolatis
01micko
authored andcommitted
integration: add basic clipboard manager integration
1 parent 8e3b1ef commit 9154384

File tree

1 file changed

+25
-2
lines changed

1 file changed

+25
-2
lines changed

src/integration.md

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
7. [Session Lock](#session-lock)
1515
8. [Desktops](#desktops)
1616
9. [Qt](#qt)
17-
10. [Input Method](#input-method)
17+
10. [Clipboard](#clipboard)
18+
11. [Input Method](#input-method)
1819

1920
# 1. Introduction {#introduction}
2021

@@ -350,7 +351,25 @@ and set `QT_QPA_PLATFORMTHEME=qt6ct` in `~/.config/labwc/environment`.
350351
[qt6-wayland]: https://archlinux.org/packages/extra/x86_64/qt6-wayland/
351352
[qt6ct]: https://github.com/trialuser02/qt6ct
352353

353-
# 10. Input Method {#input-method}
354+
# 10. Clipboard {#clipboard}
355+
356+
**Labwc** does not store clipboard contents after an application quits.
357+
For this functionality you need a _clipboard manager_.
358+
359+
For example, you could add a line similar to this to
360+
`~/.config/labwc/autostart`:
361+
362+
```
363+
wl-paste --watch cliphist store &
364+
```
365+
366+
This uses [cliphist] and [wl-clipboard]. Other clipboard managers include
367+
[clapboard] and [clipse].
368+
369+
Many clipboard managers have features beyond just keeping the clipboard
370+
alive. See the documentation of the individual tools for further information.
371+
372+
# 11. Input Method {#input-method}
354373

355374
Input methods like Fcitx5 and IBus provide modules for GTK and Qt and an
356375
interface for xserver (xwayland) using D-Bus without wayland protocols.
@@ -439,3 +458,7 @@ So if you want to use IME with Chromium under labwc, you have following options:
439458
[arch-xdg-menu]: https://arch.p5n.pp.ru/~sergej/dl/2018/
440459
[obamenu]: https://github.com/onuronsekiz/obamenu
441460
[wlr-randr]: https://sr.ht/~emersion/wlr-randr/
461+
[cliphist]: https://github.com/sentriz/cliphist
462+
[clapboard]: https://github.com/bjesus/clapboard
463+
[clipse]: https://github.com/savedra1/clipse
464+
[wl-clipboard]: https://github.com/bugaevc/wl-clipboard

0 commit comments

Comments
 (0)