Clipboard-Managers: add 'clipse' (#704)

This commit is contained in:
Michael Savedra 2024-07-04 08:14:24 +01:00 committed by GitHub
parent 1f955e5c5c
commit c4afaa594f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,7 +8,7 @@ _Starting method:_ manual (`exec-once`)
Clipboard Managers provide a convenient way to organize and access previously Clipboard Managers provide a convenient way to organize and access previously
copied content, including both text and images. copied content, including both text and images.
Some common ones used are `copyq`, `clipman` and `cliphist`. Some common ones used are `copyq`, `clipman`, `cliphist` and `clipse`.
`clipman` - Utilizes Wayland with `wl-clipboard` support and stores text only `clipman` - Utilizes Wayland with `wl-clipboard` support and stores text only
[Github](https://github.com/chmouel/clipman) [Github](https://github.com/chmouel/clipman)
@ -23,6 +23,9 @@ To fix this problem, you can use `wl-clip-persist` which will preserve the data
in the clipboard after the application is closed. in the clipboard after the application is closed.
[Github](https://github.com/Linus789/wl-clip-persist) [Github](https://github.com/Linus789/wl-clip-persist)
`clipse` - Utilizes Wayland with `wl-clipboard` support and runs from a single binary. Stores text and images indefinitely, accessible via a nice TUI that can be bound to floating window in your Hyprland config. Allows custom themes, image/text previews, multi-select, pinned items and more.
[GitHub](https://github.com/savedra1/clipse)
## copyq ## copyq
Start by adding the following lines to your `~/.config/hypr/hyprland.conf` Start by adding the following lines to your `~/.config/hypr/hyprland.conf`
@ -109,3 +112,25 @@ bind = SUPER, V, exec, clipman pick -t wofi
...and so on. For further information, please refer to the repository ...and so on. For further information, please refer to the repository
mentioned above. mentioned above.
## clipse
Start by adding the following line to your `~/.config/hypr/hyprland.conf`
```ini
exec-once = clipse -listen
```
You can bind the TUI to a something nice like this:
```ini
windowrulev2 = float,class:(clipse)
windowrulev2 = size 622 652,class:(clipse)
bind = SUPER, V, exec, alacritty --class clipse -e zsh -c 'clipse'
```
Replace `alacritty` and `zsh` with your terminal/shell environments. The class is optional, but it's recommended to use a floating window to achieve more GUI-like behavior.
For more details on `clipse`, please refer to its GitHub repo linked at the top of the page.