Add tip to set up copying and pasting.

Han Boetes 2022-03-15 20:09:48 +01:00
parent 34d75c504e
commit ed3d414575

@ -227,7 +227,7 @@ sudo systemctl restart udevmon
# Get rid of main taskbar and move time/date to window title bar. # Get rid of main taskbar and move time/date to window title bar.
For those of us who want every pixel of real state! For those of us who want every pixel of real estate!
The changes are: The changes are:
@ -259,3 +259,19 @@ and we have them both "fused"
} }
} }
``` ```
# Copying and Pasting
Most stuff on sway I got working pretty easily, but the copy & paste setup was pretty hard. With this setup I got it working as I want. I hope somebody else may find it useful.
```
# There are two wl-paste processes running, one for the primary and one for the normal clipboard
exec wl-paste -t text --watch clipman store
exec wl-paste -p -t text --watch clipman store
# The keybind to select a clipping
bindsym $mod+y exec clipman --primary pick --tool rofi
# Clear all clippings
bindsym $mod+Shift+y exec clipman clear -a
# Remove a selected clipping
bindsym $mod+Mod1+y exec clipman clear --tool rofi
```