mirror of
https://github.com/swaywm/sway.git
synced 2024-11-24 17:01:29 +00:00
Add tip to set up copying and pasting.
parent
34d75c504e
commit
ed3d414575
18
Tricks.md
18
Tricks.md
|
@ -227,7 +227,7 @@ sudo systemctl restart udevmon
|
|||
|
||||
# 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:
|
||||
|
||||
|
@ -258,4 +258,20 @@ and we have them both "fused"
|
|||
inactive_workspace #32323200 #32323200 #5c5c5c
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
# 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
|
||||
```
|
Loading…
Reference in a new issue