add how to make copyq work properly (#217)

* add how to make copyq work properly

* adjust the affirmative
This commit is contained in:
YinAqu 2023-05-05 21:41:33 +08:00 committed by GitHub
parent 0aac915fcd
commit 4cce1c829f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -10,6 +10,15 @@ Some common ones used are `copyq`, `clipman` and `cliphist`.
`wl-clip-persists` - When we copy something on Wayland (using wl-clipboard) and close the application we copied from, the copied data disappears from the clipboard and we cannot paste it anymore. So to fix this problem we can use a program called as `wl-clip-persists` which will preserve the data in the clipboard after the application is closed. [Github](https://github.com/Linus789/wl-clip-persist)
## copyq
Start by adding the following lines to your `~/.config/hypr/hyprland.conf`
```ini
exec-once = copyq --start-server
```
If your `copyq`'s main window cannot close/hide properly, try to enable its "Hide main window" option in Layout configuration tab in Preferences dialog.
## cliphist
Start by adding the following lines to your `~/.config/hypr/hyprland.conf`